Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.001163/0.001163, allocations: 109 kB / 16.41 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.001241/0.001241, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7023/0.7023, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 58.12 kB / 0.5862 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1149, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4015/0.5165, allocations: 160.8 MB / 0.8223 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02817/0.5447, allocations: 26.79 MB / 0.8484 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.547, allocations: 73.88 kB / 0.8485 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.5491, allocations: 1.019 MB / 0.8495 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.553, allocations: 1.708 MB / 0.8512 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.5565, allocations: 1.693 MB / 0.8528 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004549/0.5611, allocations: 4.831 MB / 0.8575 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004095/0.5652, allocations: 4.263 MB / 0.8617 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.5676, allocations: 2.05 MB / 0.8637 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.5699, allocations: 2.45 MB / 0.8661 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.5705, allocations: 452 kB / 0.8665 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.5722, allocations: 1.05 MB / 0.8676 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008693/0.5731, allocations: 1.172 MB / 0.8687 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.5748, allocations: 2.037 MB / 0.8707 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.5797, allocations: 5.795 MB / 0.8764 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5797, allocations: 0 / 0.8764 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5797, allocations: 4 kB / 0.8764 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.879e-05/0.5798, allocations: 0 / 0.8764 GB, free: 6.82 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.007287/0.5871, allocations: 4.49 MB / 0.8807 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5871, allocations: 9.109 kB / 0.8807 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.5995, allocations: 2.772 MB / 0.8835 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.6032, allocations: 2.29 MB / 0.8857 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.6034, allocations: 242.5 kB / 0.8859 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.6038, allocations: 312 kB / 0.8862 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00938/0.6132, allocations: 5.144 MB / 0.8912 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/0.6133, allocations: 0 / 0.8912 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.6136, allocations: 136 kB / 0.8914 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.6137, allocations: 87.92 kB / 0.8915 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.6265, allocations: 6.288 MB / 0.8976 GB, free: 0.8164 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.02064/0.6471, allocations: 14.41 MB / 0.9117 GB, free: 1.883 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009069/0.6562, allocations: 4.523 MB / 0.9161 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004559/0.6608, allocations: 2.454 MB / 0.9185 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/0.6616, allocations: 0.6736 MB / 0.9191 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00482/0.6664, allocations: 2.465 MB / 0.9215 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 4.369e-06/0.6664, allocations: 0 / 0.9215 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01669/0.6831, allocations: 7.528 MB / 0.9289 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.6832, allocations: 210 kB / 0.9291 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.6859, allocations: 2.401 MB / 0.9314 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.6861, allocations: 73.7 kB / 0.9315 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000979/0.6871, allocations: 1.353 MB / 0.9328 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007138/0.6878, allocations: 0.8971 MB / 0.9337 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008293/0.6886, allocations: 492.5 kB / 0.9342 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.6887, allocations: 313 kB / 0.9345 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.693, allocations: 1.968 MB / 0.9364 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/0.6975, allocations: 2.273 MB / 0.9386 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008678/0.7062, allocations: 4.228 MB / 0.9427 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7062, allocations: 0 / 0.9427 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01028/0.7165, allocations: 4.959 MB / 0.9476 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7165, allocations: 11.94 kB / 0.9476 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7165, allocations: 4 kB / 0.9476 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.7173, allocations: 354.1 kB / 0.9479 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.7209, allocations: 0.78 MB / 0.9487 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/0.7259, allocations: 4.263 MB / 0.9529 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.7289, allocations: 0.5246 MB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.7292, allocations: 115.9 kB / 0.9535 GB, free: 6.266 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.001433/0.7306, allocations: 0.9266 MB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.7311, allocations: 272.6 kB / 0.9547 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.7428, allocations: 5.53 MB / 0.9601 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.7429, allocations: 11.95 kB / 0.9601 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7429, allocations: 3.938 kB / 0.9601 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.7444, allocations: 0.8053 MB / 0.9609 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/0.7448, allocations: 67.83 kB / 0.9609 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/0.7475, allocations: 385.2 kB / 0.9613 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/0.7479, allocations: 190 kB / 0.9615 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01254/0.7604, allocations: 5.323 MB / 0.9667 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01451/0.775, allocations: 7.731 MB / 0.9742 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004263/0.7792, allocations: 2.281 MB / 0.9764 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002083/0.7813, allocations: 1.745 MB / 0.9782 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of Backend: time 3e-07/0.7813, allocations: 0 / 0.9782 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008854/0.7902, allocations: 4.093 MB / 0.9821 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of SimCode: time 0.009453/0.7997, allocations: 6.865 MB / 0.9889 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of Templates: time 0.07372/0.8734, allocations: 56.76 MB / 1.044 GB, free: 9.609 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)