Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.001504/0.001504, allocations: 185.7 kB / 17.35 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.1 MB, free: 15.1 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.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.9515 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9215/0.9228, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2079/1.131, allocations: 160.5 MB / 1.245 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03932/1.17, allocations: 26.77 MB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/1.174, allocations: 71.62 kB / 1.272 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/1.177, allocations: 0.9985 MB / 1.272 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/1.182, allocations: 1.694 MB / 1.274 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/1.186, allocations: 1.714 MB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006223/1.193, allocations: 4.87 MB / 1.281 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005396/1.198, allocations: 4.211 MB / 1.285 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003894/1.202, allocations: 2.081 MB / 1.287 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/1.206, allocations: 2.46 MB / 1.289 GB, free: 292 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001363/1.207, allocations: 460 kB / 1.29 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/1.21, allocations: 1.062 MB / 1.291 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/1.211, allocations: 1.172 MB / 1.292 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003386/1.215, allocations: 2.045 MB / 1.294 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008506/1.223, allocations: 5.84 MB / 1.299 GB, free: 5.688 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.223, allocations: 4 kB / 1.299 GB, free: 5.684 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/1.223, allocations: 0 / 1.299 GB, free: 5.684 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001991/1.224, allocations: 0 / 1.299 GB, free: 5.684 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.01294/1.237, allocations: 4.554 MB / 1.304 GB, free: 1.039 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.237, allocations: 11.97 kB / 1.304 GB, free: 1.027 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/1.251, allocations: 2.773 MB / 1.307 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/1.257, allocations: 2.313 MB / 1.309 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/1.258, allocations: 234.4 kB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/1.259, allocations: 312 kB / 1.309 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/1.272, allocations: 5.162 MB / 1.314 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.538e-05/1.273, allocations: 0 / 1.314 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005913/1.273, allocations: 128 kB / 1.315 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.273, allocations: 76 kB / 1.315 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/1.29, allocations: 6.291 MB / 1.321 GB, free: 15.57 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.03368/1.323, allocations: 14 MB / 1.334 GB, free: 1.133 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/1.335, allocations: 4.7 MB / 1.339 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006366/1.342, allocations: 2.429 MB / 1.341 GB, free: 9.992 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.343, allocations: 0.6697 MB / 1.342 GB, free: 9.191 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006918/1.35, allocations: 2.619 MB / 1.345 GB, free: 6.531 MB / 1.076 GB Notification: Performance of pre-optimization done (n=278): time 5.6e-06/1.35, allocations: 0 / 1.345 GB, free: 6.531 MB / 1.076 GB Notification: Performance of matching and sorting (n=278): time 0.02025/1.37, allocations: 7.396 MB / 1.352 GB, free: 15.02 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.37, allocations: 210.1 kB / 1.352 GB, free: 14.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/1.374, allocations: 2.437 MB / 1.354 GB, free: 12.3 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005486/1.375, allocations: 73.7 kB / 1.354 GB, free: 12.22 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.376, allocations: 1.349 MB / 1.356 GB, free: 10.86 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.378, allocations: 0.901 MB / 1.357 GB, free: 9.941 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/1.379, allocations: 0.5125 MB / 1.357 GB, free: 9.422 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.379, allocations: 305.1 kB / 1.357 GB, free: 9.121 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/1.385, allocations: 2.027 MB / 1.359 GB, free: 7.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/1.39, allocations: 2.334 MB / 1.362 GB, free: 4.684 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.4, allocations: 4.273 MB / 1.366 GB, free: 332 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.4, allocations: 4 kB / 1.366 GB, free: 328 kB / 1.092 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01221/1.412, allocations: 4.989 MB / 1.371 GB, free: 11.28 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.413, allocations: 8.109 kB / 1.371 GB, free: 11.27 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.413, allocations: 7.938 kB / 1.371 GB, free: 11.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/1.413, allocations: 234.2 kB / 1.371 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004124/1.417, allocations: 0.8189 MB / 1.372 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/1.422, allocations: 3.37 MB / 1.375 GB, free: 6.707 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/1.426, allocations: 0.5557 MB / 1.376 GB, free: 6.148 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005725/1.426, allocations: 115.9 kB / 1.376 GB, free: 6.035 MB / 1.107 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002263/1.429, allocations: 0.9421 MB / 1.377 GB, free: 5.082 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009944/1.43, allocations: 276.6 kB / 1.377 GB, free: 4.809 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/1.444, allocations: 5.625 MB / 1.382 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.444, allocations: 15.94 kB / 1.382 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.444, allocations: 0 / 1.382 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.445, allocations: 0.8287 MB / 1.383 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007666/1.446, allocations: 67.94 kB / 1.383 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/1.45, allocations: 419.4 kB / 1.384 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/1.45, allocations: 210 kB / 1.384 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01537/1.466, allocations: 5.38 MB / 1.389 GB, free: 8.133 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01752/1.483, allocations: 8.003 MB / 1.397 GB, free: 52 kB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005127/1.488, allocations: 2.352 MB / 1.399 GB, free: 13.68 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003185/1.492, allocations: 1.773 MB / 1.401 GB, free: 11.9 MB / 1.139 GB Notification: Performance of Backend: time 7.91e-07/1.492, allocations: 0 / 1.401 GB, free: 11.9 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.503, allocations: 4.116 MB / 1.405 GB, free: 8.188 MB / 1.139 GB Notification: Performance of SimCode: time 0.01298/1.516, allocations: 6.713 MB / 1.412 GB, free: 1.445 MB / 1.139 GB Notification: Performance of Templates: time 0.0915/1.608, allocations: 58 MB / 1.468 GB, free: 7.738 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)