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.001342/0.001342, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001511/0.001511, allocations: 194.8 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9686/0.9686, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 72.14 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1836, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5695/0.7531, allocations: 159.5 MB / 0.7397 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03861/0.7918, allocations: 26.69 MB / 0.7658 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005178/0.797, allocations: 71.62 kB / 0.7659 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.8002, allocations: 0.9528 MB / 0.7668 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006654/0.8069, allocations: 1.599 MB / 0.7684 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.8128, allocations: 1.617 MB / 0.7699 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008334/0.8212, allocations: 5.222 MB / 0.775 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006112/0.8273, allocations: 4.517 MB / 0.7794 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004708/0.832, allocations: 2.147 MB / 0.7815 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.8363, allocations: 2.635 MB / 0.7841 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.8376, allocations: 484 kB / 0.7846 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.8405, allocations: 1.062 MB / 0.7856 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.8419, allocations: 1.25 MB / 0.7868 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.8451, allocations: 2.188 MB / 0.789 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.8527, allocations: 6.115 MB / 0.7949 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8528, allocations: 0 / 0.7949 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8528, allocations: 0 / 0.7949 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001816/0.853, allocations: 0 / 0.7949 GB, free: 4.957 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.01157/0.8646, allocations: 4.751 MB / 0.7996 GB, free: 140 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.8646, allocations: 8.031 kB / 0.7996 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006968/0.8653, allocations: 480.6 kB / 0.8 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.8789, allocations: 2.791 MB / 0.8028 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.8848, allocations: 2.377 MB / 0.8051 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.885, allocations: 254.9 kB / 0.8053 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.8862, allocations: 336 kB / 0.8057 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.9009, allocations: 5.389 MB / 0.8109 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-05/0.901, allocations: 7.938 kB / 0.8109 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.9014, allocations: 136 kB / 0.8111 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.9015, allocations: 84 kB / 0.8111 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.9173, allocations: 6.535 MB / 0.8175 GB, free: 13.59 MB / 0.6387 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.03425/0.9516, allocations: 15.71 MB / 0.8329 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/0.9611, allocations: 4.08 MB / 0.8368 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005741/0.9669, allocations: 2.663 MB / 0.8394 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.968, allocations: 0.6658 MB / 0.8401 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006264/0.9743, allocations: 2.569 MB / 0.8426 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 6.523e-06/0.9743, allocations: 3.938 kB / 0.8426 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02295/0.9973, allocations: 8.39 MB / 0.8508 GB, free: 10.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.9974, allocations: 218.1 kB / 0.851 GB, free: 10.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005771/1.003, allocations: 2.513 MB / 0.8535 GB, free: 7.785 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006428/1.004, allocations: 77.7 kB / 0.8535 GB, free: 7.703 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002022/1.006, allocations: 1.435 MB / 0.8549 GB, free: 6.25 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.007, allocations: 0.9588 MB / 0.8559 GB, free: 5.277 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/1.009, allocations: 496.9 kB / 0.8564 GB, free: 4.785 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.009, allocations: 301.1 kB / 0.8566 GB, free: 4.488 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/1.014, allocations: 2.038 MB / 0.8586 GB, free: 2.445 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4114/1.425, allocations: 2.364 MB / 0.8609 GB, free: 214.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.436, allocations: 4.406 MB / 0.8652 GB, free: 214.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.437, allocations: 0 / 0.8652 GB, free: 214.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01272/1.449, allocations: 5.274 MB / 0.8704 GB, free: 212.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/1.449, allocations: 6.406 kB / 0.8704 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.449, allocations: 6.969 kB / 0.8704 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.451, allocations: 0.5522 MB / 0.8709 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004227/1.455, allocations: 0.7798 MB / 0.8717 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/1.462, allocations: 5.741 MB / 0.8773 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/1.466, allocations: 0.5618 MB / 0.8779 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005643/1.467, allocations: 109.4 kB / 0.878 GB, free: 209.3 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002263/1.469, allocations: 0.9629 MB / 0.8789 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/1.47, allocations: 285.4 kB / 0.8792 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.483, allocations: 5.897 MB / 0.8849 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.483, allocations: 28.88 kB / 0.885 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/1.483, allocations: 13.34 kB / 0.885 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.282e-05/1.483, allocations: 16.73 kB / 0.885 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.506, allocations: 9.889 MB / 0.8947 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.506, allocations: 1.125 kB / 0.8947 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00459/1.51, allocations: 0.7491 MB / 0.8954 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/1.512, allocations: 0.53 MB / 0.8959 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008804/1.513, allocations: 79.73 kB / 0.896 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/1.523, allocations: 7.549 MB / 0.9033 GB, free: 197.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.523, allocations: 0 / 0.9033 GB, free: 197.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/1.548, allocations: 8.395 MB / 0.9115 GB, free: 194.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003201/1.551, allocations: 0.8382 MB / 0.9124 GB, free: 194.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/1.553, allocations: 68.83 kB / 0.9124 GB, free: 194.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004627/1.557, allocations: 420.7 kB / 0.9128 GB, free: 194.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.559, allocations: 193.6 kB / 0.913 GB, free: 194.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007595/1.559, allocations: 100.9 kB / 0.9131 GB, free: 194.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004764/1.564, allocations: 1.827 MB / 0.9149 GB, free: 193.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.493e-06/1.564, allocations: 0 / 0.9149 GB, free: 193.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006365/1.571, allocations: 1.1 MB / 0.916 GB, free: 193.2 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03369/1.604, allocations: 9.896 MB / 0.9256 GB, free: 189.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02142/1.626, allocations: 8.592 MB / 0.934 GB, free: 187.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.626, allocations: 0 / 0.934 GB, free: 187.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007005/1.633, allocations: 2.953 MB / 0.9369 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.638, allocations: 0.7107 MB / 0.9376 GB, free: 184.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07672/1.715, allocations: 35.79 MB / 0.9726 GB, free: 147.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.718, allocations: 2.557 MB / 0.9751 GB, free: 144.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005873/1.724, allocations: 1.128 MB / 0.9762 GB, free: 143.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003847/1.728, allocations: 1.518 MB / 0.9776 GB, free: 141.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.363e-06/1.728, allocations: 4 kB / 0.9776 GB, free: 141.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.846, allocations: 73.83 MB / 1.05 GB, free: 68.57 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/1.846, allocations: 299.8 kB / 1.05 GB, free: 68.18 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/5.823, allocations: 0 / 1.05 GB, free: 68.18 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/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)