Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001174/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7225/0.7225, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004265, allocations: 8 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4973, allocations: 81.58 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2018/0.6992, allocations: 146.6 MB / 0.7263 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0392/0.7384, allocations: 25.18 MB / 0.7509 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.7423, allocations: 67.62 kB / 0.751 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.7451, allocations: 0.9059 MB / 0.7518 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006127/0.7512, allocations: 1.492 MB / 0.7533 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005009/0.7563, allocations: 1.28 MB / 0.7545 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008268/0.7646, allocations: 4.85 MB / 0.7593 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006517/0.7711, allocations: 3.132 MB / 0.7623 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/0.7747, allocations: 1.427 MB / 0.7637 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.7788, allocations: 1.929 MB / 0.7656 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.7801, allocations: 124 kB / 0.7657 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.783, allocations: 0.6165 MB / 0.7663 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.7846, allocations: 0.7664 MB / 0.7671 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.7864, allocations: 0.687 MB / 0.7678 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.7933, allocations: 4.676 MB / 0.7723 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.7933, allocations: 4 kB / 0.7723 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7933, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002718/0.7936, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01127/0.8049, allocations: 4.061 MB / 0.7763 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.8049, allocations: 15.97 kB / 0.7763 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002002/0.8069, allocations: 476.6 kB / 0.7768 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.82, allocations: 2.912 MB / 0.7796 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005666/0.8257, allocations: 2.297 MB / 0.7818 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.826, allocations: 258.9 kB / 0.7821 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/0.8274, allocations: 336 kB / 0.7824 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.8427, allocations: 5.397 MB / 0.7877 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.8428, allocations: 19.84 kB / 0.7877 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009212/0.8438, allocations: 136 kB / 0.7878 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/0.8439, allocations: 84 kB / 0.7879 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.8605, allocations: 6.59 MB / 0.7944 GB, free: 7.508 MB / 0.6231 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.03149/0.892, allocations: 15.75 MB / 0.8097 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009447/0.9015, allocations: 4.071 MB / 0.8137 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005585/0.9071, allocations: 2.745 MB / 0.8164 GB, free: 320 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3533/1.26, allocations: 0.6698 MB / 0.817 GB, free: 212 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007597/1.268, allocations: 2.57 MB / 0.8195 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 6.562e-06/1.268, allocations: 0 / 0.8195 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02178/1.29, allocations: 8.337 MB / 0.8277 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.29, allocations: 217.6 kB / 0.8279 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/1.294, allocations: 2.489 MB / 0.8303 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004519/1.294, allocations: 78.45 kB / 0.8304 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/1.296, allocations: 1.442 MB / 0.8318 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009071/1.297, allocations: 0.9505 MB / 0.8327 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.297, allocations: 50.75 kB / 0.8328 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.297, allocations: 407.8 kB / 0.8332 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00452/1.301, allocations: 2.035 MB / 0.8352 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004685/1.306, allocations: 2.366 MB / 0.8375 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/1.311, allocations: 2.197 MB / 0.8396 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.311, allocations: 1 kB / 0.8396 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01043/1.321, allocations: 5.268 MB / 0.8448 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.321, allocations: 3.844 kB / 0.8448 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.321, allocations: 3.938 kB / 0.8448 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.322, allocations: 0.5425 MB / 0.8453 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/1.326, allocations: 0.7888 MB / 0.8461 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/1.332, allocations: 5.296 MB / 0.8512 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.335, allocations: 0.568 MB / 0.8518 GB, free: 196.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.335, allocations: 112.3 kB / 0.8519 GB, free: 196 MB / 0.6387 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 (274): * Single equations (assignments): 273 * 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.001897/1.337, allocations: 0.97 MB / 0.8529 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/1.338, allocations: 286.5 kB / 0.8531 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.348, allocations: 5.904 MB / 0.8589 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.349, allocations: 28 kB / 0.8589 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.349, allocations: 11.98 kB / 0.8589 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.349, allocations: 19.91 kB / 0.8589 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.364, allocations: 9.891 MB / 0.8686 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.364, allocations: 0 / 0.8686 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/1.367, allocations: 0.7566 MB / 0.8693 GB, free: 178.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/1.369, allocations: 0.5222 MB / 0.8699 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/1.369, allocations: 79.59 kB / 0.8699 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/1.375, allocations: 6.952 MB / 0.8767 GB, free: 170.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.375, allocations: 0 / 0.8767 GB, free: 170.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.39, allocations: 8.392 MB / 0.8849 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.392, allocations: 0.887 MB / 0.8858 GB, free: 161.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/1.393, allocations: 52 kB / 0.8858 GB, free: 161.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.395, allocations: 431.3 kB / 0.8862 GB, free: 160.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.396, allocations: 190.1 kB / 0.8864 GB, free: 160.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.396, allocations: 103.9 kB / 0.8865 GB, free: 160.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002178/1.398, allocations: 1.811 MB / 0.8883 GB, free: 158.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/1.398, allocations: 0 / 0.8883 GB, free: 158.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002858/1.401, allocations: 1.106 MB / 0.8894 GB, free: 157.6 MB / 0.6387 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 (260): * Single equations (assignments): 253 * 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.01597/1.417, allocations: 9.858 MB / 0.899 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00975/1.427, allocations: 5.058 MB / 0.9039 GB, free: 143 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.427, allocations: 0.6875 kB / 0.9039 GB, free: 143 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005211/1.432, allocations: 2.952 MB / 0.9068 GB, free: 140 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.435, allocations: 0.6601 MB / 0.9075 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04737/1.483, allocations: 26.9 MB / 0.9337 GB, free: 111.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/1.485, allocations: 2.558 MB / 0.9362 GB, free: 108.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004663/1.49, allocations: 1.125 MB / 0.9373 GB, free: 107.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.492, allocations: 1.522 MB / 0.9388 GB, free: 106 MB / 0.6387 GB Notification: Performance of SimCode: time 1.243e-06/1.492, allocations: 0 / 0.9388 GB, free: 106 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.6, allocations: 74.07 MB / 1.011 GB, free: 32.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.6, allocations: 267 kB / 1.011 GB, free: 32.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.869/5.469, allocations: 0 / 1.011 GB, free: 32.25 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: