Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001426/0.001426, allocations: 102.3 kB / 16.4 MB, free: 6.488 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.002072/0.002072, allocations: 199.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.551/2.551, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.017/1.017, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 58.2 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2717, allocations: 76.19 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 1.117/1.389, allocations: 166 MB / 0.7937 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02477/1.414, allocations: 7.816 MB / 0.8014 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/1.417, allocations: 35.38 kB / 0.8014 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.42, allocations: 403.2 kB / 0.8018 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009504/1.43, allocations: 1.31 MB / 0.8031 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00706/1.437, allocations: 1.178 MB / 0.8042 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007468/1.444, allocations: 2.361 MB / 0.8065 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004022/1.448, allocations: 1.189 MB / 0.8077 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/1.452, allocations: 0.8343 MB / 0.8085 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/1.456, allocations: 0.7887 MB / 0.8093 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/1.456, allocations: 150.6 kB / 0.8094 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006508/1.463, allocations: 1.12 MB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/1.464, allocations: 432.5 kB / 0.8109 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/1.466, allocations: 0.7795 MB / 0.8117 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007911/1.474, allocations: 2.41 MB / 0.814 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/1.474, allocations: 4 kB / 0.814 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.946e-06/1.474, allocations: 0 / 0.814 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.12e-05/1.474, allocations: 0 / 0.814 GB, free: 7.703 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.007948/1.482, allocations: 1.882 MB / 0.8159 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.009e-05/1.483, allocations: 12.22 kB / 0.8159 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004953/1.483, allocations: 166.5 kB / 0.816 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/1.487, allocations: 325 kB / 0.8163 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/1.491, allocations: 1.034 MB / 0.8174 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/1.491, allocations: 79.86 kB / 0.8174 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/1.491, allocations: 106.4 kB / 0.8175 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/1.496, allocations: 1.168 MB / 0.8187 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.777e-05/1.496, allocations: 2.562 kB / 0.8187 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/1.496, allocations: 50.02 kB / 0.8187 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.496, allocations: 43.66 kB / 0.8188 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/1.5, allocations: 1.307 MB / 0.82 GB, free: 3.688 MB / 0.5919 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.01123/1.512, allocations: 3.803 MB / 0.8238 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/1.515, allocations: 0.9977 MB / 0.8247 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.516, allocations: 402.6 kB / 0.8251 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/1.517, allocations: 38.05 kB / 0.8251 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.518, allocations: 0.5917 MB / 0.8257 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 5.16e-06/1.518, allocations: 0 / 0.8257 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.006719/1.525, allocations: 1.441 MB / 0.8271 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.525, allocations: 195.5 kB / 0.8273 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/1.528, allocations: 0.8304 MB / 0.8281 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/1.528, allocations: 49.7 kB / 0.8282 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/1.529, allocations: 0.5233 MB / 0.8287 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005529/1.529, allocations: 339.6 kB / 0.829 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/1.53, allocations: 180.2 kB / 0.8292 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.53, allocations: 343.7 kB / 0.8295 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.531, allocations: 314.3 kB / 0.8298 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/1.533, allocations: 473.1 kB / 0.8303 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/1.535, allocations: 0.7785 MB / 0.831 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.535, allocations: 2 kB / 0.831 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004417/1.54, allocations: 1.022 MB / 0.832 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/1.54, allocations: 7.656 kB / 0.832 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.54, allocations: 2.375 kB / 0.832 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.541, allocations: 91.27 kB / 0.8321 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.542, allocations: 207.7 kB / 0.8323 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/1.546, allocations: 1.632 MB / 0.8339 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/1.549, allocations: 116.3 kB / 0.834 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/1.549, allocations: 34.58 kB / 0.8341 GB, free: 9.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.001392/1.55, allocations: 320 kB / 0.8344 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009086/1.551, allocations: 110.3 kB / 0.8345 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/1.557, allocations: 1.246 MB / 0.8357 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.557, allocations: 10.84 kB / 0.8357 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.557, allocations: 0 / 0.8357 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/1.557, allocations: 9.828 kB / 0.8357 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.56, allocations: 1.171 MB / 0.8368 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.56, allocations: 4 kB / 0.8368 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.562, allocations: 212.7 kB / 0.8371 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008044/1.563, allocations: 74.77 kB / 0.8371 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.563, allocations: 31.5 kB / 0.8372 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/1.566, allocations: 1.653 MB / 0.8388 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.566, allocations: 7.969 kB / 0.8388 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/1.572, allocations: 1.562 MB / 0.8403 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.573, allocations: 331.2 kB / 0.8406 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/1.574, allocations: 31.92 kB / 0.8406 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/1.576, allocations: 63.94 kB / 0.8407 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/1.576, allocations: 84.88 kB / 0.8408 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.576, allocations: 43.98 kB / 0.8408 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00169/1.578, allocations: 0.5821 MB / 0.8414 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/1.578, allocations: 0 / 0.8414 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002303/1.58, allocations: 430.9 kB / 0.8418 GB, free: 2.676 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.008837/1.589, allocations: 2.642 MB / 0.8444 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003817/1.593, allocations: 0.9812 MB / 0.8453 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.593, allocations: 0 / 0.8453 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/1.595, allocations: 0.5984 MB / 0.8459 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/1.599, allocations: 487.7 kB / 0.8464 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/1.63, allocations: 8.192 MB / 0.8544 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.631, allocations: 1.161 MB / 0.8555 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002349/1.634, allocations: 321.2 kB / 0.8558 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.635, allocations: 0.511 MB / 0.8563 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of SimCode: time 1.834e-06/1.635, allocations: 4 kB / 0.8563 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3357/1.971, allocations: 30.15 MB / 0.8858 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/24.52, allocations: 4 kB / 0.8858 GB, free: 5.949 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)