Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_10_Buildings.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.001336/0.001337, allocations: 112.1 kB / 16.42 MB, free: 6.473 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.001328/0.001328, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.335/2.335, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 64.12 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8213, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1762/0.9976, allocations: 162.6 MB / 1.326 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03288/1.03, allocations: 27.1 MB / 1.353 GB, free: 5.355 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/1.034, allocations: 75.56 kB / 1.353 GB, free: 5.281 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/1.037, allocations: 1.08 MB / 1.354 GB, free: 4.195 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005991/1.043, allocations: 1.893 MB / 1.356 GB, free: 2.297 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/1.048, allocations: 1.785 MB / 1.357 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007755/1.056, allocations: 5.549 MB / 1.363 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006016/1.062, allocations: 4.328 MB / 1.367 GB, free: 6.547 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/1.066, allocations: 2.215 MB / 1.369 GB, free: 4.328 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/1.07, allocations: 2.624 MB / 1.372 GB, free: 1.695 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/1.071, allocations: 484 kB / 1.372 GB, free: 1.223 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/1.074, allocations: 1.089 MB / 1.373 GB, free: 136 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/1.076, allocations: 1.235 MB / 1.374 GB, free: 14.89 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/1.078, allocations: 2.228 MB / 1.377 GB, free: 12.65 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006156/1.085, allocations: 6.252 MB / 1.383 GB, free: 6.387 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.085, allocations: 4 kB / 1.383 GB, free: 6.383 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.733e-06/1.085, allocations: 0 / 1.383 GB, free: 6.383 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.199e-05/1.085, allocations: 0 / 1.383 GB, free: 6.383 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.009088/1.094, allocations: 4.804 MB / 1.387 GB, free: 1.492 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.094, allocations: 8.031 kB / 1.387 GB, free: 1.484 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/1.107, allocations: 2.796 MB / 1.39 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/1.112, allocations: 2.393 MB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/1.112, allocations: 246.7 kB / 1.393 GB, free: 11.97 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/1.113, allocations: 324 kB / 1.393 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/1.124, allocations: 5.338 MB / 1.398 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/1.124, allocations: 4 kB / 1.398 GB, free: 6.234 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00036/1.124, allocations: 136 kB / 1.398 GB, free: 6.102 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/1.124, allocations: 80 kB / 1.398 GB, free: 6.023 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.138, allocations: 6.476 MB / 1.405 GB, free: 15.54 MB / 1.139 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.0284/1.167, allocations: 15.66 MB / 1.42 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.178, allocations: 4.876 MB / 1.425 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005529/1.184, allocations: 2.572 MB / 1.427 GB, free: 7.707 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009608/1.185, allocations: 0.6814 MB / 1.428 GB, free: 6.898 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006164/1.191, allocations: 2.702 MB / 1.431 GB, free: 4.156 MB / 1.154 GB Notification: Performance of pre-optimization done (n=291): time 5.861e-06/1.191, allocations: 8 kB / 1.431 GB, free: 4.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=291): time 0.02016/1.211, allocations: 8.009 MB / 1.438 GB, free: 12.02 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.211, allocations: 218.2 kB / 1.439 GB, free: 11.77 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/1.215, allocations: 2.516 MB / 1.441 GB, free: 9.227 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003776/1.216, allocations: 81.7 kB / 1.441 GB, free: 9.141 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.217, allocations: 1.389 MB / 1.443 GB, free: 7.734 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.218, allocations: 0.9512 MB / 1.443 GB, free: 6.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/1.219, allocations: 0.5207 MB / 1.444 GB, free: 6.242 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/1.219, allocations: 309.1 kB / 1.444 GB, free: 5.938 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/1.224, allocations: 2.101 MB / 1.446 GB, free: 3.832 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005268/1.23, allocations: 2.432 MB / 1.449 GB, free: 1.328 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.24, allocations: 4.447 MB / 1.453 GB, free: 12.79 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.24, allocations: 0 / 1.453 GB, free: 12.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01267/1.253, allocations: 5.253 MB / 1.458 GB, free: 7.492 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.253, allocations: 10.81 kB / 1.458 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.253, allocations: 4.156 kB / 1.458 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009416/1.254, allocations: 348.6 kB / 1.459 GB, free: 7.137 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/1.258, allocations: 0.8228 MB / 1.459 GB, free: 6.312 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/1.264, allocations: 4.22 MB / 1.463 GB, free: 1.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004021/1.268, allocations: 0.5595 MB / 1.464 GB, free: 1.391 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/1.268, allocations: 119.9 kB / 1.464 GB, free: 1.273 MB / 1.186 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 (306): * Single equations (assignments): 305 * 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.002279/1.27, allocations: 0.9852 MB / 1.465 GB, free: 284 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009049/1.271, allocations: 284.5 kB / 1.465 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/1.289, allocations: 5.904 MB / 1.471 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.435e-05/1.289, allocations: 23.81 kB / 1.471 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.289, allocations: 0 / 1.471 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/1.293, allocations: 0.8521 MB / 1.472 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.294, allocations: 79.77 kB / 1.472 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005602/1.3, allocations: 419.4 kB / 1.472 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007231/1.3, allocations: 218.1 kB / 1.473 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0239/1.324, allocations: 5.695 MB / 1.478 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02771/1.352, allocations: 8.301 MB / 1.486 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008255/1.36, allocations: 2.443 MB / 1.489 GB, free: 7.848 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004925/1.365, allocations: 1.83 MB / 1.49 GB, free: 6.008 MB / 1.217 GB Notification: Performance of Backend: time 6.61e-07/1.365, allocations: 0 / 1.49 GB, free: 6.008 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01802/1.383, allocations: 4.278 MB / 1.495 GB, free: 2.039 MB / 1.217 GB Notification: Performance of SimCode: time 0.01803/1.401, allocations: 7.153 MB / 1.502 GB, free: 10.85 MB / 1.232 GB Notification: Performance of Templates: time 0.7543/2.156, allocations: 61.99 MB / 1.562 GB, free: 381.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)