Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneFourElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneFourElements.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 113.2 kB / 16.42 MB, free: 6.008 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.001769/0.001769, allocations: 187 kB / 17.35 MB, free: 5.625 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.09 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.277/2.277, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8221/0.8236, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2112/1.035, allocations: 163.5 MB / 1.248 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04474/1.08, allocations: 27.61 MB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005468/1.085, allocations: 87.56 kB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/1.089, allocations: 1.146 MB / 1.276 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007114/1.096, allocations: 1.978 MB / 1.278 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/1.102, allocations: 2.048 MB / 1.28 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008639/1.11, allocations: 6.166 MB / 1.286 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007911/1.118, allocations: 4.99 MB / 1.291 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/1.124, allocations: 2.449 MB / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/1.13, allocations: 2.95 MB / 1.296 GB, free: 8.609 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003101/1.133, allocations: 0.5547 MB / 1.297 GB, free: 8.055 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/1.138, allocations: 1.167 MB / 1.298 GB, free: 6.887 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002734/1.14, allocations: 1.429 MB / 1.3 GB, free: 5.453 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005704/1.146, allocations: 2.5 MB / 1.302 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/1.157, allocations: 7.09 MB / 1.309 GB, free: 11.83 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.157, allocations: 0 / 1.309 GB, free: 11.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/1.157, allocations: 0 / 1.309 GB, free: 11.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002399/1.158, allocations: 0 / 1.309 GB, free: 11.83 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 987 * Number of variables: 987 Notification: Performance of Generate backend data structure: time 0.01451/1.172, allocations: 5.371 MB / 1.314 GB, free: 6.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.172, allocations: 12.03 kB / 1.314 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/1.187, allocations: 2.85 MB / 1.317 GB, free: 3.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005912/1.193, allocations: 2.642 MB / 1.32 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/1.193, allocations: 287.7 kB / 1.32 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/1.194, allocations: 376 kB / 1.32 GB, free: 140 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/1.208, allocations: 5.93 MB / 1.326 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/1.208, allocations: 0 / 1.326 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/1.208, allocations: 160 kB / 1.326 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.804e-05/1.208, allocations: 92 kB / 1.326 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/1.225, allocations: 7.042 MB / 1.333 GB, free: 2.852 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.03712/1.262, allocations: 17.71 MB / 1.35 GB, free: 388 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.273, allocations: 4.799 MB / 1.355 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006861/1.28, allocations: 3.057 MB / 1.358 GB, free: 8.512 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.281, allocations: 0.6779 MB / 1.359 GB, free: 7.703 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007381/1.289, allocations: 2.977 MB / 1.362 GB, free: 4.695 MB / 1.092 GB Notification: Performance of pre-optimization done (n=336): time 6.672e-06/1.289, allocations: 0 / 1.362 GB, free: 4.695 MB / 1.092 GB Notification: Performance of matching and sorting (n=336): time 0.02666/1.315, allocations: 10.17 MB / 1.372 GB, free: 10.4 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.315, allocations: 218.5 kB / 1.372 GB, free: 10.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/1.32, allocations: 2.776 MB / 1.374 GB, free: 7.355 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005166/1.32, allocations: 89.7 kB / 1.375 GB, free: 7.262 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/1.322, allocations: 1.589 MB / 1.376 GB, free: 5.656 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/1.323, allocations: 1.109 MB / 1.377 GB, free: 4.531 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/1.325, allocations: 0.5728 MB / 1.378 GB, free: 3.949 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/1.325, allocations: 301.1 kB / 1.378 GB, free: 3.652 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005306/1.33, allocations: 2.313 MB / 1.38 GB, free: 1.336 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005584/1.336, allocations: 2.665 MB / 1.383 GB, free: 14.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.346, allocations: 4.92 MB / 1.388 GB, free: 9.594 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.346, allocations: 7.938 kB / 1.388 GB, free: 9.586 MB / 1.123 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01378/1.36, allocations: 6.09 MB / 1.394 GB, free: 3.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/1.36, allocations: 4 kB / 1.394 GB, free: 3.453 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.36, allocations: 4 kB / 1.394 GB, free: 3.449 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/1.362, allocations: 0.824 MB / 1.394 GB, free: 2.617 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/1.367, allocations: 0.8463 MB / 1.395 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.379, allocations: 7.58 MB / 1.403 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004934/1.383, allocations: 0.6046 MB / 1.403 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009572/1.384, allocations: 127.9 kB / 1.403 GB, free: 9.312 MB / 1.139 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 (319): * Single equations (assignments): 318 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003163/1.388, allocations: 1.079 MB / 1.404 GB, free: 8.223 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.389, allocations: 324 kB / 1.405 GB, free: 7.902 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/1.407, allocations: 6.742 MB / 1.411 GB, free: 1.102 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/1.407, allocations: 15.94 kB / 1.411 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.407, allocations: 0 / 1.411 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002684/1.41, allocations: 0.9607 MB / 1.412 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009818/1.411, allocations: 87.77 kB / 1.412 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/1.414, allocations: 427.4 kB / 1.413 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006665/1.415, allocations: 274.4 kB / 1.413 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01875/1.434, allocations: 6.578 MB / 1.42 GB, free: 8.695 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02077/1.455, allocations: 9.155 MB / 1.428 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00584/1.461, allocations: 2.695 MB / 1.431 GB, free: 12.77 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003431/1.464, allocations: 2.013 MB / 1.433 GB, free: 10.76 MB / 1.17 GB Notification: Performance of Backend: time 5.71e-07/1.464, allocations: 0 / 1.433 GB, free: 10.76 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.479, allocations: 4.779 MB / 1.438 GB, free: 6.383 MB / 1.17 GB Notification: Performance of SimCode: time 0.01788/1.497, allocations: 8.324 MB / 1.446 GB, free: 14.05 MB / 1.186 GB Notification: Performance of Templates: time 0.115/1.612, allocations: 68.56 MB / 1.513 GB, free: 9.875 MB / 1.248 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)