Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.0008093/0.0008095, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008295/0.0008296, allocations: 172.7 kB / 15.95 MB, free: 208 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9624/0.9624, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 11.94 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5857/0.7846, allocations: 147.8 MB / 0.7318 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04229/0.8269, allocations: 25.57 MB / 0.7567 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005529/0.8325, allocations: 75.62 kB / 0.7568 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003514/0.8361, allocations: 0.9563 MB / 0.7578 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008051/0.8441, allocations: 1.605 MB / 0.7593 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005732/0.8499, allocations: 1.414 MB / 0.7607 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009229/0.8591, allocations: 5.481 MB / 0.7661 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007187/0.8663, allocations: 3.369 MB / 0.7693 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.8704, allocations: 1.564 MB / 0.7709 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/0.8751, allocations: 2.127 MB / 0.7729 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.8764, allocations: 140 kB / 0.7731 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.8796, allocations: 0.636 MB / 0.7737 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.8814, allocations: 0.8598 MB / 0.7745 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.8835, allocations: 0.7455 MB / 0.7753 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008229/0.8917, allocations: 5.101 MB / 0.7802 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8917, allocations: 0 / 0.7802 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8917, allocations: 0 / 0.7802 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003379/0.8921, allocations: 0 / 0.7802 GB, free: 6.637 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01287/0.905, allocations: 4.372 MB / 0.7845 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.905, allocations: 12.03 kB / 0.7845 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002228/0.9073, allocations: 0.5104 MB / 0.785 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.921, allocations: 2.951 MB / 0.7879 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/0.9289, allocations: 2.424 MB / 0.7903 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.9293, allocations: 279.5 kB / 0.7905 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.9311, allocations: 376 kB / 0.7909 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.9499, allocations: 5.743 MB / 0.7965 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/0.9501, allocations: 11.84 kB / 0.7965 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.9513, allocations: 152 kB / 0.7967 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.9514, allocations: 95.98 kB / 0.7968 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.9697, allocations: 6.913 MB / 0.8035 GB, free: 14.59 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.03907/1.009, allocations: 17.4 MB / 0.8205 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/1.019, allocations: 4.473 MB / 0.8249 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006707/1.026, allocations: 3.087 MB / 0.8279 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.027, allocations: 0.6777 MB / 0.8285 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007141/1.034, allocations: 2.721 MB / 0.8312 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 6.933e-06/1.034, allocations: 0 / 0.8312 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02809/1.063, allocations: 9.589 MB / 0.8406 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.063, allocations: 214.4 kB / 0.8408 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.068, allocations: 2.639 MB / 0.8434 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007472/1.069, allocations: 81.64 kB / 0.8434 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.07, allocations: 1.55 MB / 0.8449 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.072, allocations: 1.055 MB / 0.846 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005771/1.073, allocations: 52 kB / 0.846 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003165/1.073, allocations: 419.5 kB / 0.8464 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005348/1.078, allocations: 2.156 MB / 0.8485 GB, free: 15.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/1.084, allocations: 2.518 MB / 0.851 GB, free: 12.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/1.09, allocations: 2.339 MB / 0.8533 GB, free: 10.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/1.09, allocations: 4 kB / 0.8533 GB, free: 10.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01484/1.105, allocations: 5.74 MB / 0.8589 GB, free: 4.555 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.105, allocations: 4 kB / 0.8589 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.105, allocations: 12.14 kB / 0.8589 GB, free: 4.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/1.107, allocations: 0.8356 MB / 0.8597 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00404/1.111, allocations: 0.8034 MB / 0.8605 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4314/1.543, allocations: 6.966 MB / 0.8673 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/1.547, allocations: 0.5998 MB / 0.8679 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005179/1.548, allocations: 115.2 kB / 0.868 GB, free: 209 MB / 0.67 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 (283): * Single equations (assignments): 282 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00253/1.55, allocations: 1.019 MB / 0.869 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006299/1.551, allocations: 306.5 kB / 0.8693 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.564, allocations: 6.409 MB / 0.8755 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/1.564, allocations: 29.5 kB / 0.8756 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.564, allocations: 11.78 kB / 0.8756 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/1.564, allocations: 13.36 kB / 0.8756 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/1.582, allocations: 10.72 MB / 0.8861 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.582, allocations: 0 / 0.8861 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003459/1.585, allocations: 0.7707 MB / 0.8868 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/1.587, allocations: 0.7346 MB / 0.8875 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/1.587, allocations: 84.55 kB / 0.8876 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009672/1.597, allocations: 9.785 MB / 0.8972 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.597, allocations: 6.906 kB / 0.8972 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0226/1.619, allocations: 9.045 MB / 0.906 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002714/1.622, allocations: 0.9406 MB / 0.9069 GB, free: 193.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/1.623, allocations: 63.28 kB / 0.907 GB, free: 193.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/1.626, allocations: 452.8 kB / 0.9074 GB, free: 193 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/1.627, allocations: 209 kB / 0.9076 GB, free: 193 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002914/1.627, allocations: 111.2 kB / 0.9077 GB, free: 193 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003351/1.63, allocations: 1.908 MB / 0.9096 GB, free: 192.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.51e-07/1.63, allocations: 0 / 0.9096 GB, free: 192.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004477/1.635, allocations: 1.223 MB / 0.9108 GB, free: 192 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02388/1.659, allocations: 10.54 MB / 0.9211 GB, free: 188.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0161/1.675, allocations: 5.48 MB / 0.9264 GB, free: 186.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.675, allocations: 1.031 kB / 0.9264 GB, free: 186.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008266/1.683, allocations: 3.324 MB / 0.9297 GB, free: 185 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005631/1.689, allocations: 0.7119 MB / 0.9304 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05483/1.744, allocations: 29.21 MB / 0.9589 GB, free: 161.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/1.746, allocations: 2.703 MB / 0.9615 GB, free: 159 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004751/1.751, allocations: 1.161 MB / 0.9627 GB, free: 157.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/1.753, allocations: 1.632 MB / 0.9643 GB, free: 156.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/1.753, allocations: 0 / 0.9643 GB, free: 156.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.87, allocations: 80.56 MB / 1.043 GB, free: 76.23 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.87, allocations: 278.9 kB / 1.043 GB, free: 75.87 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.269/6.139, allocations: 4.062 kB / 1.043 GB, free: 75.87 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: