Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.0008246/0.0008247, allocations: 90.75 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.001007/0.001007, 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.492/1.492, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.113/1.113, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 9.125 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5988/0.8024, allocations: 145.1 MB / 0.7292 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0396/0.842, allocations: 24.74 MB / 0.7533 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005454/0.8476, allocations: 62.06 kB / 0.7534 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.8505, allocations: 0.8378 MB / 0.7542 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005619/0.8562, allocations: 1.362 MB / 0.7555 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.8609, allocations: 1.192 MB / 0.7567 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007516/0.8684, allocations: 4.231 MB / 0.7608 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005991/0.8744, allocations: 2.818 MB / 0.7636 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.8781, allocations: 1.28 MB / 0.7648 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.882, allocations: 1.723 MB / 0.7665 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.8832, allocations: 100 kB / 0.7666 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.8862, allocations: 0.597 MB / 0.7672 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.8877, allocations: 0.6769 MB / 0.7679 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.8892, allocations: 0.5974 MB / 0.7684 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006262/0.8955, allocations: 4.119 MB / 0.7725 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.8955, allocations: 0 / 0.7725 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8955, allocations: 0 / 0.7725 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000248/0.8958, allocations: 4 kB / 0.7725 GB, free: 14.7 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01038/0.9062, allocations: 3.699 MB / 0.7761 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.9063, allocations: 12.03 kB / 0.7761 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00159/0.9079, allocations: 442.1 kB / 0.7765 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.9208, allocations: 2.866 MB / 0.7793 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/0.9267, allocations: 2.111 MB / 0.7814 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.927, allocations: 226.2 kB / 0.7816 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.9285, allocations: 303.9 kB / 0.7819 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.9435, allocations: 4.991 MB / 0.7868 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.9437, allocations: 7.938 kB / 0.7868 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009905/0.9447, allocations: 128 kB / 0.7869 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/0.9448, allocations: 76 kB / 0.787 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.9606, allocations: 6.169 MB / 0.793 GB, free: 9.457 MB / 0.6075 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.03226/0.9929, allocations: 13.66 MB / 0.8063 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.004, allocations: 4.333 MB / 0.8106 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005456/1.009, allocations: 2.319 MB / 0.8128 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.01, allocations: 0.6657 MB / 0.8135 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007497/1.018, allocations: 2.374 MB / 0.8158 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=257): time 9.117e-06/1.018, allocations: 0 / 0.8158 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=257): time 0.02017/1.038, allocations: 6.931 MB / 0.8226 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.038, allocations: 217.9 kB / 0.8228 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/1.043, allocations: 2.291 MB / 0.825 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007286/1.044, allocations: 73.69 kB / 0.8251 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.045, allocations: 1.305 MB / 0.8263 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.047, allocations: 0.8509 MB / 0.8272 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005327/1.047, allocations: 44 kB / 0.8272 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002808/1.047, allocations: 398.4 kB / 0.8276 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/1.052, allocations: 1.866 MB / 0.8294 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/1.057, allocations: 2.184 MB / 0.8316 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/1.063, allocations: 2.014 MB / 0.8335 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/1.063, allocations: 0 / 0.8335 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01201/1.075, allocations: 4.647 MB / 0.8381 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.075, allocations: 8 kB / 0.8381 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.075, allocations: 7.984 kB / 0.8381 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/1.075, allocations: 232.7 kB / 0.8383 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/1.079, allocations: 0.7566 MB / 0.839 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/1.084, allocations: 3.089 MB / 0.8421 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.088, allocations: 0.5403 MB / 0.8426 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.089, allocations: 103.9 kB / 0.8427 GB, free: 5.41 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 (264): * Single equations (assignments): 263 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003299/1.092, allocations: 0.8919 MB / 0.8435 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.093, allocations: 256.8 kB / 0.8438 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.109, allocations: 5.285 MB / 0.849 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/1.109, allocations: 24 kB / 0.849 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/1.109, allocations: 7.953 kB / 0.849 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/1.109, allocations: 15.94 kB / 0.849 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.129, allocations: 8.841 MB / 0.8576 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.129, allocations: 0 / 0.8576 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003566/1.133, allocations: 0.7215 MB / 0.8583 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/1.134, allocations: 264.7 kB / 0.8586 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.134, allocations: 71.94 kB / 0.8587 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4413/1.576, allocations: 4.79 MB / 0.8633 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.576, allocations: 4.203 kB / 0.8633 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.594, allocations: 7.516 MB / 0.8707 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002488/1.597, allocations: 0.8146 MB / 0.8715 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/1.598, allocations: 49.03 kB / 0.8715 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/1.601, allocations: 421.6 kB / 0.8719 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/1.602, allocations: 169.9 kB / 0.8721 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005229/1.603, allocations: 92.8 kB / 0.8722 GB, free: 210.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003327/1.606, allocations: 1.674 MB / 0.8738 GB, free: 210.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.11e-07/1.606, allocations: 0 / 0.8738 GB, free: 210.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0042/1.61, allocations: 0.9671 MB / 0.8748 GB, free: 210 MB / 0.67 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 (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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01913/1.629, allocations: 8.982 MB / 0.8835 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.641, allocations: 4.537 MB / 0.888 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.641, allocations: 0 / 0.888 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006565/1.647, allocations: 2.604 MB / 0.8905 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/1.652, allocations: 0.593 MB / 0.8911 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06448/1.717, allocations: 23.9 MB / 0.9144 GB, free: 192.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005108/1.722, allocations: 2.367 MB / 0.9167 GB, free: 191.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007802/1.73, allocations: 1.096 MB / 0.9178 GB, free: 191.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00416/1.734, allocations: 1.365 MB / 0.9191 GB, free: 190.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.262e-06/1.734, allocations: 5.094 kB / 0.9191 GB, free: 190.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.853, allocations: 65.49 MB / 0.9831 GB, free: 137.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.853, allocations: 273.5 kB / 0.9834 GB, free: 137.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.866/5.72, allocations: 0 / 0.9834 GB, free: 137.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: