Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.001088/0.001088, 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.001404/0.001404, allocations: 177.3 kB / 15.94 MB, free: 228 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.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.094/1.094, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 8 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 82.32 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5842/0.7985, allocations: 135.9 MB / 0.72 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04004/0.8386, allocations: 22.74 MB / 0.7422 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004847/0.8434, allocations: 61.59 kB / 0.7423 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.8471, allocations: 0.9693 MB / 0.7432 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.8569, allocations: 2.128 MB / 0.7453 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00688/0.8638, allocations: 1.672 MB / 0.7469 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008436/0.8722, allocations: 2.895 MB / 0.7498 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005184/0.8775, allocations: 2.947 MB / 0.7526 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.8804, allocations: 1.307 MB / 0.7539 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.8838, allocations: 1.63 MB / 0.7555 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006045/0.8844, allocations: 108 kB / 0.7556 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.8868, allocations: 0.5775 MB / 0.7562 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008102/0.8877, allocations: 0.7004 MB / 0.7569 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.8888, allocations: 0.6364 MB / 0.7575 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005623/0.8944, allocations: 4.35 MB / 0.7617 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8944, allocations: 0 / 0.7617 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8945, allocations: 0 / 0.7617 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000175/0.8946, allocations: 0 / 0.7617 GB, free: 9.191 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.00982/0.9045, allocations: 3.857 MB / 0.7655 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.9045, allocations: 8.031 kB / 0.7655 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/0.906, allocations: 455.1 kB / 0.7659 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.9197, allocations: 2.885 MB / 0.7688 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005716/0.9255, allocations: 2.155 MB / 0.7709 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.9257, allocations: 246.5 kB / 0.7711 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009323/0.9267, allocations: 312 kB / 0.7714 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.9398, allocations: 5.14 MB / 0.7764 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.9399, allocations: 4 kB / 0.7764 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004047/0.9403, allocations: 132 kB / 0.7765 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/0.9404, allocations: 76 kB / 0.7766 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.9574, allocations: 6.354 MB / 0.7828 GB, free: 3.336 MB / 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.0327/0.9902, allocations: 14.57 MB / 0.797 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/1.002, allocations: 4.562 MB / 0.8015 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/1.003, allocations: 0.6735 MB / 0.8022 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006843/1.01, allocations: 2.45 MB / 0.8046 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=270): time 5.5e-06/1.01, allocations: 0 / 0.8046 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=270): time 0.02056/1.031, allocations: 7.526 MB / 0.8119 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.031, allocations: 210 kB / 0.8121 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/1.035, allocations: 2.397 MB / 0.8144 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006565/1.035, allocations: 77.69 kB / 0.8145 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.037, allocations: 1.361 MB / 0.8158 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.038, allocations: 0.8934 MB / 0.8167 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.038, allocations: 52 kB / 0.8168 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000219/1.038, allocations: 394.7 kB / 0.8171 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00466/1.043, allocations: 1.952 MB / 0.8191 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00507/1.048, allocations: 2.252 MB / 0.8213 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/1.053, allocations: 2.101 MB / 0.8233 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.053, allocations: 0 / 0.8233 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01191/1.065, allocations: 4.903 MB / 0.8281 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.065, allocations: 10.5 kB / 0.8281 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.065, allocations: 8 kB / 0.8281 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008825/1.066, allocations: 345.3 kB / 0.8284 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/1.07, allocations: 0.8152 MB / 0.8292 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/1.076, allocations: 4.003 MB / 0.8331 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/1.08, allocations: 0.5518 MB / 0.8337 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005027/1.08, allocations: 103.9 kB / 0.8338 GB, free: 13.91 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 (270): * Single equations (assignments): 269 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002085/1.082, allocations: 0.931 MB / 0.8347 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/1.083, allocations: 268.6 kB / 0.8349 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.096, allocations: 5.564 MB / 0.8404 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.096, allocations: 28 kB / 0.8404 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.096, allocations: 7.984 kB / 0.8404 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/1.096, allocations: 15.94 kB / 0.8404 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/1.116, allocations: 9.32 MB / 0.8495 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.116, allocations: 4 kB / 0.8495 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004735/1.121, allocations: 0.7723 MB / 0.8503 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/1.123, allocations: 379.9 kB / 0.8507 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006253/1.123, allocations: 79.92 kB / 0.8507 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006555/1.13, allocations: 5.894 MB / 0.8565 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.13, allocations: 4 kB / 0.8565 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4409/1.571, allocations: 7.91 MB / 0.8642 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/1.574, allocations: 0.8518 MB / 0.865 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009204/1.575, allocations: 51.77 kB / 0.8651 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/1.578, allocations: 425.9 kB / 0.8655 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/1.579, allocations: 171.5 kB / 0.8657 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.579, allocations: 102.3 kB / 0.8658 GB, free: 209.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0026/1.582, allocations: 1.746 MB / 0.8675 GB, free: 209.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/1.582, allocations: 0 / 0.8675 GB, free: 209.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003482/1.585, allocations: 1.032 MB / 0.8685 GB, free: 209.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01934/1.604, allocations: 9.4 MB / 0.8777 GB, free: 207.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.616, allocations: 4.767 MB / 0.8823 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.616, allocations: 0 / 0.8823 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.622, allocations: 2.751 MB / 0.885 GB, free: 205 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.626, allocations: 0.5724 MB / 0.8856 GB, free: 204.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06245/1.689, allocations: 27.39 MB / 0.9123 GB, free: 190.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/1.692, allocations: 2.519 MB / 0.9148 GB, free: 189.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005527/1.698, allocations: 1.108 MB / 0.9158 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/1.701, allocations: 1.44 MB / 0.9172 GB, free: 187.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/1.701, allocations: 0 / 0.9172 GB, free: 187.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.817, allocations: 69.43 MB / 0.985 GB, free: 134.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/1.817, allocations: 270.6 kB / 0.9853 GB, free: 134.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.797/6.614, allocations: 3.281 kB / 0.9853 GB, free: 134.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: