Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001292/0.001292, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 69.67 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1209, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4523/0.5732, allocations: 160.8 MB / 0.8173 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.6047, allocations: 26.78 MB / 0.8435 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.6074, allocations: 74.47 kB / 0.8435 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.6098, allocations: 1.022 MB / 0.8445 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.6144, allocations: 1.704 MB / 0.8462 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.6186, allocations: 1.694 MB / 0.8479 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005545/0.6242, allocations: 4.833 MB / 0.8526 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005479/0.6297, allocations: 4.255 MB / 0.8567 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.6333, allocations: 2.052 MB / 0.8587 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.637, allocations: 2.448 MB / 0.8611 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.6383, allocations: 448 kB / 0.8615 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.6411, allocations: 1.058 MB / 0.8626 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.6425, allocations: 1.168 MB / 0.8637 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.6456, allocations: 2.037 MB / 0.8657 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.6525, allocations: 5.795 MB / 0.8714 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6526, allocations: 0 / 0.8714 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6526, allocations: 4 kB / 0.8714 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001797/0.6528, allocations: 4 kB / 0.8714 GB, free: 13.58 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.009632/0.6624, allocations: 4.494 MB / 0.8758 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.6625, allocations: 8.031 kB / 0.8758 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.6759, allocations: 2.768 MB / 0.8785 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.6804, allocations: 2.29 MB / 0.8807 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.6806, allocations: 242.5 kB / 0.8809 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/0.6811, allocations: 312 kB / 0.8812 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.6919, allocations: 5.144 MB / 0.8863 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.692, allocations: 0 / 0.8863 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/0.6923, allocations: 132 kB / 0.8864 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.6924, allocations: 87.92 kB / 0.8865 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.7072, allocations: 6.288 MB / 0.8926 GB, free: 7.574 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.02418/0.7314, allocations: 14.41 MB / 0.9067 GB, free: 8.637 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/0.7412, allocations: 4.524 MB / 0.9111 GB, free: 4.109 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004964/0.7462, allocations: 2.454 MB / 0.9135 GB, free: 1.645 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/0.7471, allocations: 0.6696 MB / 0.9142 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005227/0.7523, allocations: 2.458 MB / 0.9166 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.169e-06/0.7524, allocations: 0 / 0.9166 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.0185/0.7709, allocations: 7.543 MB / 0.9239 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.771, allocations: 206 kB / 0.9241 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.774, allocations: 2.397 MB / 0.9265 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003673/0.7744, allocations: 77.7 kB / 0.9265 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.7754, allocations: 1.349 MB / 0.9279 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008384/0.7763, allocations: 0.8932 MB / 0.9287 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008526/0.7772, allocations: 496.5 kB / 0.9292 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.7773, allocations: 313 kB / 0.9295 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/0.782, allocations: 1.968 MB / 0.9314 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00474/0.7867, allocations: 2.265 MB / 0.9336 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/0.7959, allocations: 4.228 MB / 0.9378 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.7959, allocations: 0 / 0.9378 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01108/0.807, allocations: 4.967 MB / 0.9426 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.8071, allocations: 9.875 kB / 0.9426 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.8071, allocations: 4 kB / 0.9426 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008467/0.8079, allocations: 346.2 kB / 0.943 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/0.8118, allocations: 0.7877 MB / 0.9437 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/0.8171, allocations: 4.251 MB / 0.9479 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/0.8205, allocations: 0.5323 MB / 0.9484 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.8208, allocations: 107.9 kB / 0.9485 GB, free: 13.04 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001675/0.8225, allocations: 0.9305 MB / 0.9494 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.823, allocations: 264.7 kB / 0.9497 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.8355, allocations: 5.541 MB / 0.9551 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.8355, allocations: 11.95 kB / 0.9551 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8356, allocations: 0 / 0.9551 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/0.8374, allocations: 0.8053 MB / 0.9559 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005024/0.8379, allocations: 67.83 kB / 0.9559 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/0.8408, allocations: 383.4 kB / 0.9563 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/0.8412, allocations: 190 kB / 0.9565 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01339/0.8546, allocations: 5.323 MB / 0.9617 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01579/0.8704, allocations: 7.731 MB / 0.9692 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004663/0.8751, allocations: 2.281 MB / 0.9715 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002506/0.8777, allocations: 1.745 MB / 0.9732 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of Backend: time 6.81e-07/0.8777, allocations: 0 / 0.9732 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.888, allocations: 4.102 MB / 0.9772 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of SimCode: time 0.009861/0.8979, allocations: 6.87 MB / 0.9839 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of Templates: time 0.08506/0.983, allocations: 56.74 MB / 1.039 GB, free: 428 kB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)