Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_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.0009824/0.0009825, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009611/0.0009613, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007526/0.0007528, allocations: 21.59 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2188, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6332/0.852, allocations: 136.7 MB / 0.9206 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0329/0.8849, allocations: 22.64 MB / 0.9427 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.8903, allocations: 68.23 kB / 0.9427 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.895, allocations: 0.9904 MB / 0.9437 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.9054, allocations: 2.17 MB / 0.9458 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007327/0.9128, allocations: 1.68 MB / 0.9475 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008125/0.9209, allocations: 3.155 MB / 0.9505 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.9271, allocations: 3.019 MB / 0.9535 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/0.9311, allocations: 1.373 MB / 0.9548 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.9357, allocations: 1.728 MB / 0.9565 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.9368, allocations: 120.5 kB / 0.9566 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.9399, allocations: 0.5345 MB / 0.9572 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.941, allocations: 0.7476 MB / 0.9579 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.9427, allocations: 0.6768 MB / 0.9586 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007301/0.95, allocations: 4.569 MB / 0.963 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9501, allocations: 0 / 0.963 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.005e-06/0.9501, allocations: 1.344 kB / 0.963 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003745/0.9505, allocations: 0 / 0.963 GB, free: 20.86 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01326/0.9638, allocations: 4.016 MB / 0.9669 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9638, allocations: 8.531 kB / 0.9669 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/0.9774, allocations: 2.725 MB / 0.9696 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006646/0.9841, allocations: 2.237 MB / 0.9718 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.9844, allocations: 255.6 kB / 0.972 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.9863, allocations: 327.2 kB / 0.9723 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1, allocations: 5.201 MB / 0.9774 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.516e-05/1, allocations: 4 kB / 0.9774 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/1.001, allocations: 138.8 kB / 0.9776 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-05/1.001, allocations: 83.34 kB / 0.9776 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.016, allocations: 6.333 MB / 0.9838 GB, free: 13.11 MB / 0.7325 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.03703/1.053, allocations: 15.48 MB / 0.9989 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.064, allocations: 4.088 MB / 1.003 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.065, allocations: 0.6759 MB / 1.004 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006898/1.072, allocations: 2.458 MB / 1.006 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=286): time 7.655e-06/1.072, allocations: 0 / 1.006 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=286): time 0.02446/1.096, allocations: 8.041 MB / 1.014 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.097, allocations: 212 kB / 1.014 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004922/1.102, allocations: 2.503 MB / 1.017 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0009176/1.102, allocations: 72.33 kB / 1.017 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.104, allocations: 1.419 MB / 1.018 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.106, allocations: 0.9526 MB / 1.019 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006635/1.106, allocations: 49.12 kB / 1.019 GB, free: 9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002874/1.107, allocations: 410.2 kB / 1.019 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005136/1.112, allocations: 1.945 MB / 1.021 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/1.118, allocations: 2.261 MB / 1.023 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/1.123, allocations: 2.128 MB / 1.026 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.123, allocations: 0 / 1.026 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01535/1.139, allocations: 5.079 MB / 1.03 GB, free: 296 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/1.139, allocations: 8.406 kB / 1.03 GB, free: 288 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/1.139, allocations: 8 kB / 1.03 GB, free: 280 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/1.14, allocations: 0.5403 MB / 1.031 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/1.145, allocations: 0.7422 MB / 1.032 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008189/1.153, allocations: 5.455 MB / 1.037 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/1.158, allocations: 0.5226 MB / 1.038 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.16, allocations: 108.2 kB / 1.038 GB, free: 10.75 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004694/1.164, allocations: 0.9536 MB / 1.039 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.166, allocations: 288.5 kB / 1.039 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.182, allocations: 5.704 MB / 1.044 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/1.182, allocations: 28 kB / 1.044 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.182, allocations: 8 kB / 1.044 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/1.182, allocations: 15.94 kB / 1.045 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/1.206, allocations: 9.634 MB / 1.054 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.206, allocations: 0 / 1.054 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003647/1.209, allocations: 0.713 MB / 1.055 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/1.211, allocations: 0.5219 MB / 1.055 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004566/1.211, allocations: 75.94 kB / 1.055 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009415/1.221, allocations: 7.129 MB / 1.062 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.221, allocations: 0 / 1.062 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/1.241, allocations: 8.084 MB / 1.07 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/1.245, allocations: 0.8832 MB / 1.071 GB, free: 9.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/1.246, allocations: 53.97 kB / 1.071 GB, free: 9.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/1.25, allocations: 399.3 kB / 1.071 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006646/1.251, allocations: 186.1 kB / 1.072 GB, free: 9.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004896/1.251, allocations: 103.9 kB / 1.072 GB, free: 9.129 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003789/1.255, allocations: 1.814 MB / 1.073 GB, free: 7.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.31e-07/1.255, allocations: 0 / 1.073 GB, free: 7.305 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005063/1.26, allocations: 1.083 MB / 1.074 GB, free: 6.219 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003073/1.263, allocations: 0.9809 MB / 1.075 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01243/1.275, allocations: 4.872 MB / 1.08 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.276, allocations: 1.859 kB / 1.08 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007566/1.283, allocations: 2.846 MB / 1.083 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/1.288, allocations: 0.6129 MB / 1.084 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.308, allocations: 9.559 MB / 1.093 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/1.31, allocations: 2.604 MB / 1.095 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004698/1.315, allocations: 1.127 MB / 1.097 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.316, allocations: 265.2 kB / 1.097 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of SimCode: time 1.212e-06/1.316, allocations: 0 / 1.097 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of Templates: time 0.08363/1.399, allocations: 45.55 MB / 1.141 GB, free: 2.664 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: