Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 112 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.001415/0.001415, allocations: 183.9 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8861, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1994/1.086, allocations: 162.1 MB / 1.247 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03791/1.123, allocations: 27.21 MB / 1.273 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/1.128, allocations: 75.62 kB / 1.274 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00322/1.131, allocations: 1.08 MB / 1.275 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006879/1.138, allocations: 1.844 MB / 1.276 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006762/1.145, allocations: 1.87 MB / 1.278 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008711/1.154, allocations: 5.53 MB / 1.284 GB, free: 5.941 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007749/1.161, allocations: 4.646 MB / 1.288 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/1.168, allocations: 2.275 MB / 1.29 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006963/1.175, allocations: 2.721 MB / 1.293 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002229/1.177, allocations: 0.5039 MB / 1.294 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004816/1.182, allocations: 1.128 MB / 1.295 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002766/1.185, allocations: 1.297 MB / 1.296 GB, free: 9.285 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00569/1.191, allocations: 2.313 MB / 1.298 GB, free: 6.961 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/1.203, allocations: 6.529 MB / 1.305 GB, free: 424 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.203, allocations: 0 / 1.305 GB, free: 424 kB / 1.029 GB Notification: Performance of FrontEnd: time 3.456e-06/1.203, allocations: 0 / 1.305 GB, free: 424 kB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002368/1.203, allocations: 7.938 kB / 1.305 GB, free: 416 kB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 907 * Number of variables: 907 Notification: Performance of Generate backend data structure: time 0.01414/1.217, allocations: 5.008 MB / 1.309 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.217, allocations: 15.95 kB / 1.309 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/1.232, allocations: 2.807 MB / 1.312 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/1.238, allocations: 2.496 MB / 1.315 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/1.238, allocations: 267.1 kB / 1.315 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/1.24, allocations: 344 kB / 1.315 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/1.255, allocations: 5.58 MB / 1.321 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/1.256, allocations: 7.938 kB / 1.321 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/1.257, allocations: 151.9 kB / 1.321 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/1.257, allocations: 84 kB / 1.321 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/1.275, allocations: 6.712 MB / 1.327 GB, free: 8.695 MB / 1.061 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.03418/1.309, allocations: 16.06 MB / 1.343 GB, free: 8.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/1.32, allocations: 4.392 MB / 1.347 GB, free: 3.617 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/1.326, allocations: 2.769 MB / 1.35 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.327, allocations: 0.6854 MB / 1.351 GB, free: 28 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007108/1.334, allocations: 2.81 MB / 1.354 GB, free: 13.18 MB / 1.092 GB Notification: Performance of pre-optimization done (n=309): time 6.532e-06/1.334, allocations: 0 / 1.354 GB, free: 13.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=309): time 0.02572/1.36, allocations: 8.848 MB / 1.362 GB, free: 4.219 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.36, allocations: 214.4 kB / 1.362 GB, free: 3.965 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/1.365, allocations: 2.635 MB / 1.365 GB, free: 1.312 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0009188/1.366, allocations: 89.62 kB / 1.365 GB, free: 1.219 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.368, allocations: 1.479 MB / 1.366 GB, free: 15.72 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001852/1.369, allocations: 1.013 MB / 1.367 GB, free: 14.7 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002037/1.372, allocations: 0.5446 MB / 1.368 GB, free: 14.14 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/1.372, allocations: 309 kB / 1.368 GB, free: 13.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005364/1.377, allocations: 2.187 MB / 1.37 GB, free: 11.65 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005829/1.383, allocations: 2.516 MB / 1.373 GB, free: 9.062 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.394, allocations: 4.645 MB / 1.377 GB, free: 4.336 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/1.394, allocations: 0 / 1.377 GB, free: 4.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01415/1.408, allocations: 5.608 MB / 1.383 GB, free: 14.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.408, allocations: 8 kB / 1.383 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.408, allocations: 4 kB / 1.383 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/1.409, allocations: 0.5492 MB / 1.383 GB, free: 14.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004665/1.414, allocations: 0.8268 MB / 1.384 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008902/1.423, allocations: 5.72 MB / 1.39 GB, free: 7.422 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/1.428, allocations: 0.5828 MB / 1.39 GB, free: 6.836 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008604/1.429, allocations: 123.9 kB / 1.391 GB, free: 6.715 MB / 1.123 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 (310): * Single equations (assignments): 309 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00326/1.432, allocations: 1.029 MB / 1.392 GB, free: 5.676 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.433, allocations: 300.2 kB / 1.392 GB, free: 5.379 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/1.452, allocations: 6.26 MB / 1.398 GB, free: 15.06 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.43e-05/1.452, allocations: 15.94 kB / 1.398 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.452, allocations: 3.938 kB / 1.398 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003085/1.455, allocations: 0.9026 MB / 1.399 GB, free: 14.11 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/1.457, allocations: 75.83 kB / 1.399 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004446/1.461, allocations: 423.4 kB / 1.399 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/1.462, allocations: 242.2 kB / 1.4 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02035/1.482, allocations: 6.08 MB / 1.405 GB, free: 7.254 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02251/1.505, allocations: 8.652 MB / 1.414 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007157/1.512, allocations: 2.549 MB / 1.416 GB, free: 11.97 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004302/1.517, allocations: 1.911 MB / 1.418 GB, free: 10.05 MB / 1.154 GB Notification: Performance of Backend: time 1.202e-06/1.517, allocations: 0 / 1.418 GB, free: 10.05 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01591/1.533, allocations: 4.486 MB / 1.423 GB, free: 5.969 MB / 1.154 GB Notification: Performance of SimCode: time 0.01897/1.552, allocations: 7.635 MB / 1.43 GB, free: 14.32 MB / 1.17 GB Notification: Performance of Templates: time 0.1252/1.677, allocations: 64.08 MB / 1.493 GB, free: 14.59 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)