Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.004401/0.004401, allocations: 101.7 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 192.3 kB / 16.78 MB, free: 6.242 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.293/1.293, allocations: 222.9 MB / 240.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 115.3 MB / 405.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 493 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.342, allocations: 76.17 MB / 0.5558 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00481/0.3468, allocations: 4.904 MB / 0.5606 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1479/0.4947, allocations: 148.3 MB / 0.7054 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000916/0.4957, allocations: 15.94 kB / 0.7054 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.4963, allocations: 146.8 kB / 0.7056 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.4977, allocations: 476.4 kB / 0.706 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.4995, allocations: 0.7184 MB / 0.7067 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.5005, allocations: 1.276 MB / 0.708 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.5012, allocations: 0.5634 MB / 0.7085 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004165/0.5017, allocations: 410.3 kB / 0.7089 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.5021, allocations: 477.8 kB / 0.7094 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.5022, allocations: 52 kB / 0.7094 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.5029, allocations: 399.6 kB / 0.7098 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.5031, allocations: 235 kB / 0.71 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.5035, allocations: 0.4972 MB / 0.7105 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.5048, allocations: 1.534 MB / 0.712 GB, free: 4.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5048, allocations: 0 / 0.712 GB, free: 4.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5048, allocations: 0 / 0.712 GB, free: 4.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.5048, allocations: 0 / 0.712 GB, free: 4.219 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002314/0.5072, allocations: 1.422 MB / 0.7134 GB, free: 2.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5072, allocations: 11.97 kB / 0.7134 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.5074, allocations: 135.3 kB / 0.7135 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/0.5082, allocations: 187.3 kB / 0.7137 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009946/0.5092, allocations: 0.7467 MB / 0.7144 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.5093, allocations: 58 kB / 0.7145 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.5094, allocations: 80 kB / 0.7146 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.5108, allocations: 0.9153 MB / 0.7155 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5108, allocations: 0 / 0.7155 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.5109, allocations: 40 kB / 0.7155 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.5109, allocations: 20 kB / 0.7155 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.5126, allocations: 1.093 MB / 0.7166 GB, free: 15.38 MB / 0.5606 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.003817/0.5164, allocations: 2.772 MB / 0.7193 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5178, allocations: 0.7846 MB / 0.7201 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.5183, allocations: 290.7 kB / 0.7203 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.5184, allocations: 40.58 kB / 0.7204 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008175/0.5193, allocations: 491 kB / 0.7208 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.763e-06/0.5193, allocations: 0 / 0.7208 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002914/0.5222, allocations: 1.174 MB / 0.722 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.5223, allocations: 196.5 kB / 0.7222 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.523, allocations: 0.6294 MB / 0.7228 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.5231, allocations: 41.7 kB / 0.7228 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.5233, allocations: 400.2 kB / 0.7232 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.5235, allocations: 252.4 kB / 0.7235 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.5237, allocations: 150.5 kB / 0.7236 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5239, allocations: 390.7 kB / 0.724 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.5243, allocations: 237.9 kB / 0.7242 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.5248, allocations: 363.5 kB / 0.7245 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.5258, allocations: 0.5847 MB / 0.7251 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5258, allocations: 4 kB / 0.7251 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001667/0.5275, allocations: 0.7863 MB / 0.7259 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5275, allocations: 8 kB / 0.7259 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5275, allocations: 0 / 0.7259 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/0.5281, allocations: 92.77 kB / 0.726 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.5287, allocations: 147.8 kB / 0.7261 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5305, allocations: 1.516 MB / 0.7276 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.5311, allocations: 93.19 kB / 0.7277 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.5312, allocations: 27.98 kB / 0.7277 GB, free: 3.516 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003306/0.5315, allocations: 270.8 kB / 0.728 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5317, allocations: 86.91 kB / 0.7281 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.5338, allocations: 1.042 MB / 0.7291 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5339, allocations: 8 kB / 0.7291 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5339, allocations: 4 kB / 0.7291 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5339, allocations: 3.984 kB / 0.7291 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.5348, allocations: 0.8956 MB / 0.73 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5348, allocations: 4 kB / 0.73 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.5353, allocations: 139.8 kB / 0.7301 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.5358, allocations: 88.7 kB / 0.7302 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.5359, allocations: 23.98 kB / 0.7302 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.5375, allocations: 1.544 MB / 0.7317 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5376, allocations: 0 / 0.7317 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.5393, allocations: 0.9123 MB / 0.7326 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.5396, allocations: 267.7 kB / 0.7329 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.5397, allocations: 23.98 kB / 0.7329 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.5403, allocations: 63.94 kB / 0.733 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.5405, allocations: 68.89 kB / 0.733 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-05/0.5405, allocations: 31.98 kB / 0.733 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004676/0.541, allocations: 459 kB / 0.7335 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.541, allocations: 4 kB / 0.7335 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006975/0.5417, allocations: 319.2 kB / 0.7338 GB, free: 13.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003158/0.5449, allocations: 1.964 MB / 0.7357 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.5463, allocations: 0.7846 MB / 0.7365 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5463, allocations: 7.938 kB / 0.7365 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.5471, allocations: 0.4964 MB / 0.737 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5482, allocations: 279.5 kB / 0.7372 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.5581, allocations: 6.752 MB / 0.7438 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.5587, allocations: 1.019 MB / 0.7448 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007287/0.5594, allocations: 262.7 kB / 0.7451 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.5599, allocations: 391.3 kB / 0.7455 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.5599, allocations: 0 / 0.7455 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7425/1.302, allocations: 20.44 MB / 0.7654 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.303, allocations: 281.2 kB / 0.7657 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.968, allocations: 4 kB / 0.7657 GB, free: 168.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)