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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 114.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 192.6 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.876/0.876, allocations: 129.2 MB / 432.5 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 75.88 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4385, allocations: 83.44 MB / 0.6802 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006254/0.4448, allocations: 5.231 MB / 0.6853 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1923/0.6371, allocations: 151.1 MB / 0.8329 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.6383, allocations: 19.88 kB / 0.8329 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.639, allocations: 210 kB / 0.8331 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.6411, allocations: 0.5747 MB / 0.8336 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.6433, allocations: 0.8488 MB / 0.8345 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.6451, allocations: 1.451 MB / 0.8359 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.6459, allocations: 442.1 kB / 0.8363 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007291/0.6466, allocations: 0.4983 MB / 0.8368 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.6473, allocations: 0.529 MB / 0.8373 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.6475, allocations: 120 kB / 0.8374 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.6485, allocations: 495.6 kB / 0.8379 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.6488, allocations: 306.9 kB / 0.8382 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.6494, allocations: 0.5908 MB / 0.8388 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.652, allocations: 1.703 MB / 0.8404 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.652, allocations: 4 kB / 0.8404 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.063e-06/0.652, allocations: 0 / 0.8404 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.064e-05/0.652, allocations: 0 / 0.8404 GB, free: 9.289 MB / 0.6544 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.003027/0.655, allocations: 1.522 MB / 0.8419 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6551, allocations: 8.031 kB / 0.8419 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/0.6553, allocations: 147.7 kB / 0.8421 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.6563, allocations: 200 kB / 0.8423 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.6577, allocations: 0.7862 MB / 0.843 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/0.6578, allocations: 77.98 kB / 0.8431 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.6579, allocations: 87.94 kB / 0.8432 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.6597, allocations: 0.9496 MB / 0.8441 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.6597, allocations: 3.938 kB / 0.8441 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.6598, allocations: 40 kB / 0.8441 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.6598, allocations: 20 kB / 0.8442 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.6617, allocations: 1.136 MB / 0.8453 GB, free: 4.18 MB / 0.6544 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.00484/0.6665, allocations: 2.862 MB / 0.8481 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.6682, allocations: 0.7967 MB / 0.8489 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.6688, allocations: 298.7 kB / 0.8491 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.6689, allocations: 26.75 kB / 0.8492 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009893/0.6699, allocations: 0.5081 MB / 0.8497 GB, free: 15.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.315e-06/0.6699, allocations: 0 / 0.8497 GB, free: 15.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003444/0.6733, allocations: 1.251 MB / 0.8509 GB, free: 14.24 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.6735, allocations: 188.9 kB / 0.8511 GB, free: 14.02 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/0.6744, allocations: 0.6528 MB / 0.8517 GB, free: 13.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.6745, allocations: 41.7 kB / 0.8517 GB, free: 13.31 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.6749, allocations: 425 kB / 0.8521 GB, free: 12.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.6752, allocations: 285.6 kB / 0.8524 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.6755, allocations: 150.6 kB / 0.8526 GB, free: 12.45 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.6757, allocations: 394.7 kB / 0.8529 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.6762, allocations: 261.8 kB / 0.8532 GB, free: 11.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.6769, allocations: 366.5 kB / 0.8535 GB, free: 11.42 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.6782, allocations: 0.6086 MB / 0.8541 GB, free: 10.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6782, allocations: 3.938 kB / 0.8541 GB, free: 10.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00212/0.6803, allocations: 0.8491 MB / 0.855 GB, free: 9.938 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6803, allocations: 4 kB / 0.855 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6803, allocations: 3.938 kB / 0.855 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.6809, allocations: 80.88 kB / 0.855 GB, free: 9.848 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.6817, allocations: 167.8 kB / 0.8552 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.6841, allocations: 1.626 MB / 0.8568 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/0.685, allocations: 95.58 kB / 0.8569 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.6851, allocations: 35.98 kB / 0.8569 GB, free: 7.781 MB / 0.67 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.0005068/0.6856, allocations: 270.3 kB / 0.8572 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.6858, allocations: 87.44 kB / 0.8573 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.6885, allocations: 1.09 MB / 0.8583 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6885, allocations: 16 kB / 0.8583 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6885, allocations: 0 / 0.8583 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6885, allocations: 7.969 kB / 0.8583 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.6902, allocations: 0.931 MB / 0.8593 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6902, allocations: 3.938 kB / 0.8593 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.6909, allocations: 155.8 kB / 0.8594 GB, free: 5.152 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.6914, allocations: 76.78 kB / 0.8595 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.6914, allocations: 27.97 kB / 0.8595 GB, free: 5.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.6937, allocations: 1.651 MB / 0.8611 GB, free: 3.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6937, allocations: 3.938 kB / 0.8611 GB, free: 3.246 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.6971, allocations: 1.368 MB / 0.8625 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/0.6977, allocations: 284.2 kB / 0.8627 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.6978, allocations: 23.95 kB / 0.8628 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.6985, allocations: 66.38 kB / 0.8628 GB, free: 1.477 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.6986, allocations: 80.83 kB / 0.8629 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/0.6987, allocations: 31.98 kB / 0.8629 GB, free: 1.367 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006964/0.6994, allocations: 475 kB / 0.8634 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.6994, allocations: 4 kB / 0.8634 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008804/0.7003, allocations: 331.1 kB / 0.8637 GB, free: 0.582 MB / 0.67 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.3517/1.052, allocations: 2.416 MB / 0.8661 GB, free: 175.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001746/1.054, allocations: 0.7987 MB / 0.8668 GB, free: 175 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.054, allocations: 4.141 kB / 0.8668 GB, free: 175 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009497/1.055, allocations: 0.5053 MB / 0.8673 GB, free: 174.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.056, allocations: 303.8 kB / 0.8676 GB, free: 174.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.068, allocations: 6.55 MB / 0.874 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/1.068, allocations: 1.041 MB / 0.875 GB, free: 170.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001017/1.069, allocations: 261.8 kB / 0.8753 GB, free: 170.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/1.07, allocations: 405.5 kB / 0.8757 GB, free: 170.5 MB / 0.67 GB Notification: Performance of SimCode: time 9.11e-07/1.07, allocations: 0.5938 kB / 0.8757 GB, free: 170.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06289/1.133, allocations: 22.36 MB / 0.8975 GB, free: 158.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.63, allocations: 9.906 kB / 0.8975 GB, free: 158.3 MB / 0.67 GB " [Timeout remaining time 645] (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 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.339176062960178] Failed to read output from testmodel.py, exit status != 0: 14.832508853636682 14.851777726 14.195970343 Calling exit ...