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.001105/0.001105, allocations: 97.69 kB / 16.27 MB, free: 5.973 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.001177/0.001178, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7449/0.7449, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 0.4912 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4186, allocations: 77.93 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007388/0.426, allocations: 5.186 MB / 0.5723 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1859/0.612, allocations: 150.7 MB / 0.7195 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.6137, allocations: 27.81 kB / 0.7195 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.6149, allocations: 198.1 kB / 0.7197 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.6182, allocations: 0.5719 MB / 0.7202 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.6212, allocations: 0.8373 MB / 0.7211 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.624, allocations: 1.447 MB / 0.7225 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.6255, allocations: 0.6113 MB / 0.7231 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.6269, allocations: 0.4944 MB / 0.7235 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.6283, allocations: 0.529 MB / 0.7241 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005446/0.6288, allocations: 124 kB / 0.7242 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.6307, allocations: 459.6 kB / 0.7246 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007567/0.6315, allocations: 307 kB / 0.7249 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.6329, allocations: 0.5869 MB / 0.7255 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.637, allocations: 1.655 MB / 0.7271 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.637, allocations: 0 / 0.7271 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.637, allocations: 4 kB / 0.7271 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001071/0.6371, allocations: 0 / 0.7271 GB, free: 6.59 MB / 0.5606 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.005073/0.6422, allocations: 1.493 MB / 0.7286 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.6423, allocations: 12.02 kB / 0.7286 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/0.6426, allocations: 139.7 kB / 0.7287 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.6439, allocations: 195.3 kB / 0.7289 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.6456, allocations: 0.7583 MB / 0.7296 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/0.6457, allocations: 73.98 kB / 0.7297 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.6459, allocations: 84 kB / 0.7298 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.6479, allocations: 0.9496 MB / 0.7307 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.6479, allocations: 0 / 0.7307 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-05/0.648, allocations: 39.94 kB / 0.7308 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.648, allocations: 20 kB / 0.7308 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.6501, allocations: 1.139 MB / 0.7319 GB, free: 1.555 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.004814/0.6549, allocations: 2.814 MB / 0.7346 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.6566, allocations: 0.8488 MB / 0.7355 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.6572, allocations: 318.7 kB / 0.7358 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.137e-05/0.6573, allocations: 38.69 kB / 0.7358 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009855/0.6583, allocations: 0.5042 MB / 0.7363 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.227e-06/0.6583, allocations: 0 / 0.7363 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003432/0.6618, allocations: 1.251 MB / 0.7375 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.6619, allocations: 192.9 kB / 0.7377 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.6629, allocations: 0.6489 MB / 0.7383 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/0.6629, allocations: 49.69 kB / 0.7384 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.6633, allocations: 408.4 kB / 0.7388 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.6636, allocations: 287.9 kB / 0.739 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.6639, allocations: 150.5 kB / 0.7392 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.6641, allocations: 390.7 kB / 0.7396 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.6646, allocations: 257.9 kB / 0.7398 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.6653, allocations: 374.5 kB / 0.7402 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6666, allocations: 0.6048 MB / 0.7408 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6666, allocations: 4 kB / 0.7408 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002229/0.6688, allocations: 0.8331 MB / 0.7416 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6688, allocations: 8 kB / 0.7416 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6689, allocations: 0 / 0.7416 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.6695, allocations: 80.88 kB / 0.7417 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.6702, allocations: 167.7 kB / 0.7418 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.6724, allocations: 1.625 MB / 0.7434 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.6732, allocations: 95.25 kB / 0.7435 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.6733, allocations: 36.05 kB / 0.7435 GB, free: 5.18 MB / 0.5762 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.0005216/0.6738, allocations: 265.6 kB / 0.7438 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.6741, allocations: 86.95 kB / 0.7439 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.6767, allocations: 1.09 MB / 0.7449 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6767, allocations: 12 kB / 0.7449 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6767, allocations: 0 / 0.7449 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6767, allocations: 8.016 kB / 0.7449 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.678, allocations: 0.9386 MB / 0.7459 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.678, allocations: 3.938 kB / 0.7459 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.6787, allocations: 159.7 kB / 0.746 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/0.6792, allocations: 76.78 kB / 0.7461 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.6793, allocations: 23.98 kB / 0.7461 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.6813, allocations: 1.655 MB / 0.7477 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6813, allocations: 0 / 0.7477 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3423/1.024, allocations: 1.366 MB / 0.7491 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/1.024, allocations: 276.2 kB / 0.7493 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.024, allocations: 27.3 kB / 0.7494 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/1.025, allocations: 64.16 kB / 0.7494 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.025, allocations: 79.09 kB / 0.7495 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/1.025, allocations: 37.36 kB / 0.7495 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007188/1.026, allocations: 471.8 kB / 0.75 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/1.026, allocations: 0 / 0.75 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009849/1.027, allocations: 331.2 kB / 0.7503 GB, free: 170.5 MB / 0.5762 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.004527/1.032, allocations: 2.417 MB / 0.7527 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002754/1.034, allocations: 1.034 MB / 0.7537 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.034, allocations: 0.5625 kB / 0.7537 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.036, allocations: 0.5384 MB / 0.7542 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.037, allocations: 304.2 kB / 0.7545 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.049, allocations: 6.777 MB / 0.7611 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/1.049, allocations: 1.04 MB / 0.7621 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000997/1.05, allocations: 270.6 kB / 0.7624 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/1.051, allocations: 400.4 kB / 0.7628 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/1.051, allocations: 3.281 kB / 0.7628 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0684/1.119, allocations: 21.99 MB / 0.7842 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.23, allocations: 4.062 kB / 0.7842 GB, free: 150.3 MB / 0.5762 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)