Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.013/2.013, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 183.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 103.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009767/0.0009768, allocations: 50.42 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2301, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1273/0.3574, allocations: 157.8 MB / 1.372 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.3872, allocations: 26.47 MB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.3901, allocations: 63.62 kB / 1.398 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.3925, allocations: 0.8752 MB / 1.399 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.397, allocations: 1.454 MB / 1.4 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.4009, allocations: 1.455 MB / 1.402 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.006546/0.4074, allocations: 4.819 MB / 1.406 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004793/0.4122, allocations: 3.702 MB / 1.41 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.4146, allocations: 1.599 MB / 1.412 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/0.4174, allocations: 2.179 MB / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000473/0.4178, allocations: 228 kB / 1.414 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.4197, allocations: 0.8194 MB / 1.415 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0007308/0.4204, allocations: 0.8952 MB / 1.416 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.4222, allocations: 1.717 MB / 1.417 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.4273, allocations: 5.226 MB / 1.422 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4274, allocations: 0 / 1.422 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4274, allocations: 0 / 1.422 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001274/0.4275, allocations: 0 / 1.422 GB, free: 3.219 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.4578/0.8854, allocations: 4.297 MB / 1.427 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8854, allocations: 14.86 kB / 1.427 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.8983, allocations: 2.753 MB / 1.429 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/0.9036, allocations: 2.182 MB / 1.431 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.9038, allocations: 235.9 kB / 1.432 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004902/0.9043, allocations: 305.3 kB / 1.432 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.9153, allocations: 4.958 MB / 1.437 GB, free: 199.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.9154, allocations: 2.844 kB / 1.437 GB, free: 199.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.9157, allocations: 131.8 kB / 1.437 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.9157, allocations: 74.72 kB / 1.437 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.9292, allocations: 6.107 MB / 1.443 GB, free: 198.1 MB / 0.9167 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.02077/0.95, allocations: 13.63 MB / 1.456 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007753/0.9578, allocations: 4.353 MB / 1.461 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/0.9617, allocations: 2.312 MB / 1.463 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.9624, allocations: 0.6718 MB / 1.463 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004002/0.9664, allocations: 2.374 MB / 1.466 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=257): time 4.598e-06/0.9664, allocations: 4 kB / 1.466 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=257): time 0.01337/0.9798, allocations: 6.931 MB / 1.473 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.9799, allocations: 213.9 kB / 1.473 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.9822, allocations: 2.303 MB / 1.475 GB, free: 170 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.9824, allocations: 73.7 kB / 1.475 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007358/0.9831, allocations: 1.297 MB / 1.476 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/0.9837, allocations: 0.8499 MB / 1.477 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007045/0.9844, allocations: 484.1 kB / 1.478 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.9845, allocations: 305.2 kB / 1.478 GB, free: 167 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003791/0.9883, allocations: 1.897 MB / 1.48 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.9922, allocations: 2.185 MB / 1.482 GB, free: 162.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007455/0.9996, allocations: 4.058 MB / 1.486 GB, free: 158.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.9996, allocations: 4 kB / 1.486 GB, free: 158.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009055/1.009, allocations: 4.699 MB / 1.49 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.009, allocations: 8 kB / 1.49 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.009, allocations: 8.094 kB / 1.49 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005622/1.009, allocations: 234.6 kB / 1.491 GB, free: 153.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/1.012, allocations: 0.7799 MB / 1.491 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/1.016, allocations: 3.096 MB / 1.495 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/1.019, allocations: 0.5325 MB / 1.495 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/1.019, allocations: 103.9 kB / 1.495 GB, free: 149 MB / 0.9167 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 (272): * Single equations (assignments): 271 * 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.001621/1.021, allocations: 0.8914 MB / 1.496 GB, free: 148.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/1.021, allocations: 260.8 kB / 1.496 GB, free: 147.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.032, allocations: 5.272 MB / 1.501 GB, free: 142.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.032, allocations: 24 kB / 1.501 GB, free: 142.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.032, allocations: 4 kB / 1.501 GB, free: 142.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.032, allocations: 15.94 kB / 1.501 GB, free: 142.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.047, allocations: 8.817 MB / 1.51 GB, free: 133.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.047, allocations: 0 / 1.51 GB, free: 133.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/1.05, allocations: 0.7215 MB / 1.511 GB, free: 132.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006965/1.051, allocations: 278.7 kB / 1.511 GB, free: 132.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/1.051, allocations: 71.94 kB / 1.511 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/1.055, allocations: 4.792 MB / 1.516 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.055, allocations: 4.031 kB / 1.516 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3267/1.381, allocations: 122.3 MB / 1.635 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.383, allocations: 0.7782 MB / 1.636 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.384, allocations: 63.78 kB / 1.636 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.386, allocations: 396.5 kB / 1.636 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/1.386, allocations: 165.9 kB / 1.637 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.387, allocations: 99.92 kB / 1.637 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001688/1.388, allocations: 1.68 MB / 1.638 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/1.388, allocations: 4 kB / 1.638 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004134/1.392, allocations: 1.501 MB / 1.64 GB, free: 15.34 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002399/1.395, allocations: 1.077 MB / 1.641 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009773/1.405, allocations: 4.574 MB / 1.645 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.405, allocations: 0 / 1.645 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/1.41, allocations: 2.607 MB / 1.648 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.413, allocations: 0.605 MB / 1.648 GB, free: 6.812 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.429, allocations: 11.09 MB / 1.659 GB, free: 11.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/1.431, allocations: 2.447 MB / 1.662 GB, free: 9.156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005962/1.437, allocations: 1.404 MB / 1.663 GB, free: 7.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.439, allocations: 323.2 kB / 1.663 GB, free: 7.434 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/1.439, allocations: 0 / 1.663 GB, free: 7.434 MB / 0.948 GB Notification: Performance of Templates: time 0.1183/1.557, allocations: 91.35 MB / 1.752 GB, free: 12.18 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)