Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 114.7 kB / 17.09 MB, free: 5.957 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.001905/0.001905, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7617/0.7617, allocations: 126.1 MB / 417.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 61.34 kB / 0.5737 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 78.7 MB / 0.6506 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4398/0.568, allocations: 165 MB / 0.8117 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03208/0.6002, allocations: 27.81 MB / 0.8388 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/0.6038, allocations: 90.06 kB / 0.8389 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.6067, allocations: 1.191 MB / 0.8401 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.6127, allocations: 2.128 MB / 0.8422 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.6176, allocations: 2.069 MB / 0.8442 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007525/0.6252, allocations: 6.6 MB / 0.8506 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.6314, allocations: 4.923 MB / 0.8554 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.6356, allocations: 2.515 MB / 0.8579 GB, free: 156 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004459/0.6401, allocations: 3.005 MB / 0.8608 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.6415, allocations: 0.5585 MB / 0.8614 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.6446, allocations: 1.171 MB / 0.8625 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.6463, allocations: 1.429 MB / 0.8639 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003976/0.6503, allocations: 2.593 MB / 0.8665 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008623/0.6589, allocations: 7.259 MB / 0.8735 GB, free: 84 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6589, allocations: 4 kB / 0.8736 GB, free: 80 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.383e-06/0.659, allocations: 0 / 0.8736 GB, free: 80 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001943/0.6592, allocations: 4 kB / 0.8736 GB, free: 76 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01145/0.6706, allocations: 5.587 MB / 0.879 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6707, allocations: 8.031 kB / 0.879 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.6846, allocations: 2.872 MB / 0.8818 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004975/0.6896, allocations: 2.683 MB / 0.8844 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.6899, allocations: 291.7 kB / 0.8847 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009607/0.6908, allocations: 376 kB / 0.8851 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.7035, allocations: 5.934 MB / 0.8909 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.405e-05/0.7036, allocations: 4 kB / 0.8909 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.7041, allocations: 156 kB / 0.891 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/0.7042, allocations: 96 kB / 0.8911 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.7201, allocations: 7.05 MB / 0.898 GB, free: 6.789 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.03112/0.7513, allocations: 18.56 MB / 0.9161 GB, free: 3.289 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.7614, allocations: 4.802 MB / 0.9208 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00593/0.7673, allocations: 3.073 MB / 0.9238 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009791/0.7683, allocations: 0.67 MB / 0.9245 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006188/0.7745, allocations: 2.974 MB / 0.9274 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=336): time 7.263e-06/0.7745, allocations: 112 / 0.9274 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336): time 0.02635/0.8009, allocations: 10.2 MB / 0.9373 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.801, allocations: 218.5 kB / 0.9375 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.8052, allocations: 2.801 MB / 0.9403 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000397/0.8056, allocations: 93.69 kB / 0.9404 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.807, allocations: 1.616 MB / 0.9419 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.8081, allocations: 1.158 MB / 0.9431 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.8094, allocations: 0.5807 MB / 0.9436 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.8095, allocations: 301.1 kB / 0.9439 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005145/0.8146, allocations: 2.32 MB / 0.9462 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/0.8201, allocations: 2.678 MB / 0.9488 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.8304, allocations: 4.916 MB / 0.9536 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.8305, allocations: 0 / 0.9536 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.0131/0.8436, allocations: 6.119 MB / 0.9596 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8436, allocations: 8 kB / 0.9596 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.8436, allocations: 11.92 kB / 0.9596 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.8454, allocations: 0.8279 MB / 0.9604 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/0.8496, allocations: 0.8424 MB / 0.9612 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.8601, allocations: 7.597 MB / 0.9687 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/0.8639, allocations: 0.6042 MB / 0.9692 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.8643, allocations: 131.9 kB / 0.9694 GB, free: 12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * 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): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002018/0.8663, allocations: 1.087 MB / 0.9704 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/0.8671, allocations: 345.7 kB / 0.9708 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/0.882, allocations: 6.747 MB / 0.9774 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/0.882, allocations: 15.94 kB / 0.9774 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.882, allocations: 0 / 0.9774 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.884, allocations: 0.9743 MB / 0.9783 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007072/0.8847, allocations: 83.88 kB / 0.9784 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003329/0.8881, allocations: 429.7 kB / 0.9788 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005598/0.8887, allocations: 282.3 kB / 0.9791 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.016/0.9047, allocations: 6.571 MB / 0.9855 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01815/0.9228, allocations: 9.18 MB / 0.9945 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005245/0.9281, allocations: 2.699 MB / 0.9971 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003079/0.9312, allocations: 2.021 MB / 0.9991 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of Backend: time 5.71e-07/0.9312, allocations: 0 / 0.9991 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01128/0.9425, allocations: 4.792 MB / 1.004 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01291/0.9554, allocations: 8.519 MB / 1.012 GB, free: 460 kB / 0.7637 GB Notification: Performance of Templates: time 0.3796/1.335, allocations: 70.11 MB / 1.081 GB, free: 305.2 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)