Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_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.0009644/0.0009645, allocations: 99.86 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.001171/0.001172, 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 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.144/1.144, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005156, allocations: 8.969 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5921/0.8179, allocations: 136.7 MB / 0.7207 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04281/0.8608, allocations: 23.02 MB / 0.7432 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005211/0.8661, allocations: 71.38 kB / 0.7433 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.8702, allocations: 0.9932 MB / 0.7443 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.8809, allocations: 2.22 MB / 0.7464 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007221/0.8881, allocations: 1.743 MB / 0.7481 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008135/0.8963, allocations: 3.171 MB / 0.7512 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005828/0.9022, allocations: 3.118 MB / 0.7543 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003862/0.9061, allocations: 1.397 MB / 0.7556 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.9099, allocations: 1.735 MB / 0.7573 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009575/0.9109, allocations: 120 kB / 0.7574 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.9138, allocations: 0.597 MB / 0.758 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.9149, allocations: 0.7549 MB / 0.7588 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.9162, allocations: 0.6831 MB / 0.7594 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007258/0.9234, allocations: 4.669 MB / 0.764 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9235, allocations: 0 / 0.764 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9235, allocations: 0 / 0.764 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002287/0.9237, allocations: 0 / 0.764 GB, free: 7.02 MB / 0.5762 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.01123/0.935, allocations: 4.063 MB / 0.768 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.935, allocations: 8.031 kB / 0.768 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001828/0.9369, allocations: 492.5 kB / 0.7684 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.951, allocations: 2.912 MB / 0.7713 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007285/0.9583, allocations: 2.258 MB / 0.7735 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.9587, allocations: 254.9 kB / 0.7737 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/0.9605, allocations: 336 kB / 0.7741 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.9782, allocations: 5.378 MB / 0.7793 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.9784, allocations: 7.984 kB / 0.7793 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/0.9799, allocations: 136 kB / 0.7794 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.98, allocations: 84 kB / 0.7795 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.9997, allocations: 6.59 MB / 0.786 GB, free: 292 kB / 0.5919 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.03928/1.039, allocations: 15.76 MB / 0.8014 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/1.05, allocations: 4.076 MB / 0.8053 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.051, allocations: 0.6735 MB / 0.806 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00714/1.058, allocations: 2.561 MB / 0.8085 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 9.809e-06/1.058, allocations: 0 / 0.8085 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.02552/1.084, allocations: 8.342 MB / 0.8166 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.084, allocations: 214.2 kB / 0.8168 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/1.089, allocations: 2.517 MB / 0.8193 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008155/1.09, allocations: 73.81 kB / 0.8194 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.091, allocations: 1.447 MB / 0.8208 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001693/1.093, allocations: 0.9548 MB / 0.8217 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005957/1.094, allocations: 52 kB / 0.8218 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0003067/1.094, allocations: 407 kB / 0.8222 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/1.1, allocations: 2.027 MB / 0.8241 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006812/1.107, allocations: 2.359 MB / 0.8264 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005998/1.113, allocations: 2.2 MB / 0.8286 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-05/1.113, allocations: 0 / 0.8286 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01581/1.129, allocations: 5.27 MB / 0.8337 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.129, allocations: 4 kB / 0.8337 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.129, allocations: 4 kB / 0.8337 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/1.13, allocations: 0.5506 MB / 0.8343 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/1.135, allocations: 0.78 MB / 0.835 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/1.144, allocations: 5.464 MB / 0.8404 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/1.149, allocations: 0.5673 MB / 0.8409 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008703/1.15, allocations: 111.9 kB / 0.841 GB, free: 6.562 MB / 0.6544 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.003183/1.153, allocations: 0.9622 MB / 0.842 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.154, allocations: 288.4 kB / 0.8423 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.171, allocations: 5.91 MB / 0.848 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/1.171, allocations: 31.94 kB / 0.8481 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/1.171, allocations: 4 kB / 0.8481 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.406e-05/1.171, allocations: 27.83 kB / 0.8481 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/1.203, allocations: 9.898 MB / 0.8577 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.203, allocations: 0 / 0.8577 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004236/1.207, allocations: 0.7488 MB / 0.8585 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/1.209, allocations: 0.5339 MB / 0.859 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007018/1.21, allocations: 79.94 kB / 0.8591 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4204/1.63, allocations: 7.095 MB / 0.866 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.63, allocations: 0 / 0.866 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.649, allocations: 8.39 MB / 0.8742 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.651, allocations: 0.8909 MB / 0.8751 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000873/1.652, allocations: 53.69 kB / 0.8751 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.656, allocations: 431.4 kB / 0.8755 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.656, allocations: 195.2 kB / 0.8757 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/1.657, allocations: 103.1 kB / 0.8758 GB, free: 208.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002906/1.66, allocations: 1.836 MB / 0.8776 GB, free: 207.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.51e-07/1.66, allocations: 0 / 0.8776 GB, free: 207.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004847/1.664, allocations: 1.109 MB / 0.8787 GB, free: 207.4 MB / 0.67 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.01994/1.684, allocations: 9.879 MB / 0.8883 GB, free: 203.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.698, allocations: 5.06 MB / 0.8933 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/1.698, allocations: 1.312 kB / 0.8933 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007549/1.705, allocations: 2.949 MB / 0.8962 GB, free: 201.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.71, allocations: 0.6107 MB / 0.8968 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07608/1.786, allocations: 29.09 MB / 0.9252 GB, free: 185.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/1.793, allocations: 2.626 MB / 0.9277 GB, free: 184.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008925/1.802, allocations: 1.128 MB / 0.9288 GB, free: 184.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006372/1.808, allocations: 1.517 MB / 0.9303 GB, free: 183 MB / 0.67 GB Notification: Performance of SimCode: time 2.074e-06/1.809, allocations: 0 / 0.9303 GB, free: 183 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/1.915, allocations: 74.39 MB / 1.003 GB, free: 117.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.916, allocations: 271.7 kB / 1.003 GB, free: 116.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.843/7.759, allocations: 7.938 kB / 1.003 GB, free: 116.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: