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.00114/0.00114, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001184/0.001184, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7916/0.7916, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 69.31 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1269, allocations: 80.2 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4622/0.5892, allocations: 160.8 MB / 0.8173 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05807/0.6473, allocations: 26.79 MB / 0.8435 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/0.6512, allocations: 73.44 kB / 0.8435 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.6554, allocations: 1.01 MB / 0.8445 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008496/0.6639, allocations: 1.701 MB / 0.8462 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007677/0.6716, allocations: 1.707 MB / 0.8479 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008198/0.6798, allocations: 4.828 MB / 0.8526 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005435/0.6853, allocations: 4.255 MB / 0.8567 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.6888, allocations: 2.052 MB / 0.8587 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.6924, allocations: 2.448 MB / 0.8611 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.6935, allocations: 448 kB / 0.8616 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.6962, allocations: 1.058 MB / 0.8626 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.6976, allocations: 1.168 MB / 0.8637 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.7004, allocations: 2.029 MB / 0.8657 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.7068, allocations: 5.815 MB / 0.8714 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7069, allocations: 8 kB / 0.8714 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7069, allocations: 0 / 0.8714 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.852e-05/0.707, allocations: 0 / 0.8714 GB, free: 13.62 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.008324/0.7153, allocations: 4.613 MB / 0.8759 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.7153, allocations: 8.031 kB / 0.8759 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.7285, allocations: 2.79 MB / 0.8786 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.7325, allocations: 2.311 MB / 0.8809 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.7327, allocations: 246.5 kB / 0.8811 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.7333, allocations: 312 kB / 0.8814 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.7436, allocations: 5.14 MB / 0.8864 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.639e-05/0.7437, allocations: 3.938 kB / 0.8864 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.744, allocations: 132 kB / 0.8866 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/0.7441, allocations: 83.94 kB / 0.8867 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.7582, allocations: 6.28 MB / 0.8928 GB, free: 7.465 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.02354/0.7817, allocations: 14.46 MB / 0.9069 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/0.7914, allocations: 4.52 MB / 0.9113 GB, free: 3.961 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004899/0.7963, allocations: 2.45 MB / 0.9137 GB, free: 1.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009252/0.7972, allocations: 0.6736 MB / 0.9144 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005213/0.8025, allocations: 2.458 MB / 0.9168 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.109e-06/0.8025, allocations: 4 kB / 0.9168 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01935/0.8218, allocations: 7.549 MB / 0.9241 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.822, allocations: 206 kB / 0.9243 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.8254, allocations: 2.405 MB / 0.9267 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003306/0.8258, allocations: 73.7 kB / 0.9268 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.827, allocations: 1.375 MB / 0.9281 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009344/0.828, allocations: 0.9334 MB / 0.929 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.829, allocations: 0.4928 MB / 0.9295 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.8291, allocations: 305.1 kB / 0.9298 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00458/0.8337, allocations: 1.972 MB / 0.9317 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/0.8385, allocations: 2.269 MB / 0.9339 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009261/0.8478, allocations: 4.228 MB / 0.9381 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.8478, allocations: 4 kB / 0.9381 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01127/0.8591, allocations: 4.973 MB / 0.9429 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.8591, allocations: 12 kB / 0.9429 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.8591, allocations: 4 kB / 0.9429 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.86, allocations: 346 kB / 0.9433 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/0.8639, allocations: 0.7879 MB / 0.944 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.8695, allocations: 4.251 MB / 0.9482 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/0.8731, allocations: 0.5408 MB / 0.9487 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.8735, allocations: 111.9 kB / 0.9488 GB, free: 12.79 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.002012/0.8755, allocations: 0.9309 MB / 0.9497 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008763/0.8764, allocations: 282.2 kB / 0.95 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.8896, allocations: 5.541 MB / 0.9554 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.8897, allocations: 11.95 kB / 0.9554 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8897, allocations: 3.938 kB / 0.9554 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.8913, allocations: 0.8108 MB / 0.9562 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/0.8918, allocations: 67.89 kB / 0.9563 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/0.8947, allocations: 389.5 kB / 0.9566 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/0.8951, allocations: 190 kB / 0.9568 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01336/0.9085, allocations: 5.335 MB / 0.962 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01566/0.9242, allocations: 7.737 MB / 0.9696 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00458/0.9288, allocations: 2.281 MB / 0.9718 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002559/0.9314, allocations: 1.749 MB / 0.9735 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/0.9314, allocations: 0 / 0.9735 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.9415, allocations: 4.099 MB / 0.9775 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 0.01119/0.9527, allocations: 6.987 MB / 0.9844 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of Templates: time 0.08539/1.038, allocations: 56.74 MB / 1.04 GB, free: 15.99 MB / 0.8106 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)