Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007839/0.0007838, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009641/0.000964, allocations: 182 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7145/0.7145, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 4 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 77.54 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006597/0.2005, allocations: 4.758 MB / 0.5647 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5166/0.7171, allocations: 146.8 MB / 0.708 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.7188, allocations: 19.88 kB / 0.708 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.7198, allocations: 158.8 kB / 0.7082 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.7223, allocations: 481.8 kB / 0.7086 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.725, allocations: 0.735 MB / 0.7093 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.7272, allocations: 1.353 MB / 0.7107 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.7286, allocations: 0.5698 MB / 0.7112 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009369/0.7295, allocations: 366.3 kB / 0.7116 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009465/0.7305, allocations: 421.7 kB / 0.712 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.7308, allocations: 31.94 kB / 0.712 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.7321, allocations: 367.7 kB / 0.7124 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.7325, allocations: 207 kB / 0.7126 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007699/0.7333, allocations: 498.7 kB / 0.713 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.7357, allocations: 1.549 MB / 0.7145 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7357, allocations: 0 / 0.7145 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7357, allocations: 0 / 0.7145 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.33e-05/0.7358, allocations: 4 kB / 0.7145 GB, free: 8.23 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00335/0.7392, allocations: 1.276 MB / 0.7158 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.7392, allocations: 8.031 kB / 0.7158 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003516/0.7396, allocations: 143.7 kB / 0.7159 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.7407, allocations: 203.3 kB / 0.7161 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.7422, allocations: 0.7585 MB / 0.7169 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.7423, allocations: 66 kB / 0.7169 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.7424, allocations: 84 kB / 0.717 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.7443, allocations: 0.9612 MB / 0.718 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.7444, allocations: 4 kB / 0.718 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.7445, allocations: 45.42 kB / 0.718 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.7445, allocations: 24 kB / 0.718 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.7465, allocations: 1.136 MB / 0.7191 GB, free: 3.395 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.7515, allocations: 2.849 MB / 0.7219 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.7533, allocations: 0.8553 MB / 0.7227 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/0.754, allocations: 326.7 kB / 0.7231 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.7541, allocations: 32.61 kB / 0.7231 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009851/0.7551, allocations: 0.5063 MB / 0.7236 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 2.775e-06/0.7551, allocations: 0 / 0.7236 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.00355/0.7587, allocations: 1.27 MB / 0.7248 GB, free: 13.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.7588, allocations: 188.9 kB / 0.725 GB, free: 13.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.7599, allocations: 0.6528 MB / 0.7256 GB, free: 12.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/0.76, allocations: 41.7 kB / 0.7257 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.7604, allocations: 412.4 kB / 0.7261 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.7606, allocations: 283.9 kB / 0.7263 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.7607, allocations: 57.69 kB / 0.7264 GB, free: 11.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.7609, allocations: 390.8 kB / 0.7268 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.7615, allocations: 261.9 kB / 0.727 GB, free: 11.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/0.7622, allocations: 386.4 kB / 0.7274 GB, free: 10.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.7635, allocations: 0.6164 MB / 0.728 GB, free: 10.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7635, allocations: 0 / 0.728 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00211/0.7656, allocations: 0.841 MB / 0.7288 GB, free: 9.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7656, allocations: 4 kB / 0.7288 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.7657, allocations: 1.812 kB / 0.7288 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.7663, allocations: 84.86 kB / 0.7289 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.767, allocations: 167.7 kB / 0.7291 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.7693, allocations: 1.529 MB / 0.7306 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/0.7701, allocations: 107.3 kB / 0.7307 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/0.7702, allocations: 31.97 kB / 0.7307 GB, free: 7.113 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005345/0.7708, allocations: 270.2 kB / 0.7309 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.771, allocations: 86.97 kB / 0.731 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.7738, allocations: 1.103 MB / 0.7321 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.7738, allocations: 15.94 kB / 0.7321 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7738, allocations: 0 / 0.7321 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.7738, allocations: 7.922 kB / 0.7321 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.7754, allocations: 0.9313 MB / 0.733 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.7754, allocations: 0 / 0.733 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.7761, allocations: 155.8 kB / 0.7332 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006342/0.7767, allocations: 92.75 kB / 0.7333 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.7768, allocations: 23.98 kB / 0.7333 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.7789, allocations: 1.544 MB / 0.7348 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7789, allocations: 4.031 kB / 0.7348 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.7821, allocations: 1.383 MB / 0.7362 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/0.7828, allocations: 295.6 kB / 0.7364 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.783, allocations: 19.98 kB / 0.7365 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.7838, allocations: 84 kB / 0.7365 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.784, allocations: 72.89 kB / 0.7366 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.7841, allocations: 31.97 kB / 0.7366 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007783/0.7849, allocations: 475 kB / 0.7371 GB, free: 308 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7849, allocations: 3.938 kB / 0.7371 GB, free: 304 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001423/0.7863, allocations: 335.4 kB / 0.7374 GB, free: 15.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00534/0.7917, allocations: 2.436 MB / 0.7398 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.7937, allocations: 0.8357 MB / 0.7406 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7937, allocations: 0 / 0.7406 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.7947, allocations: 0.5314 MB / 0.7411 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.7963, allocations: 279.9 kB / 0.7414 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.8108, allocations: 7.259 MB / 0.7485 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.8117, allocations: 1.039 MB / 0.7495 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001035/0.8128, allocations: 255 kB / 0.7497 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/0.8134, allocations: 407.3 kB / 0.7501 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of SimCode: time 1.823e-06/0.8134, allocations: 0 / 0.7501 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.8606, allocations: 20.89 MB / 0.7705 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.8609, allocations: 277 kB / 0.7708 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.379, allocations: 3.938 kB / 0.7708 GB, free: 13.99 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)