Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_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.001363/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001554/0.001554, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.64 kB / 0.5012 GB, free: 9.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1868, allocations: 80.2 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4723/0.6592, allocations: 160.7 MB / 0.7364 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04062/0.6999, allocations: 27.27 MB / 0.7631 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/0.7056, allocations: 79.62 kB / 0.7631 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.7093, allocations: 1.003 MB / 0.7641 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.7166, allocations: 1.702 MB / 0.7658 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005964/0.7226, allocations: 1.761 MB / 0.7675 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.733, allocations: 6.159 MB / 0.7735 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007393/0.7404, allocations: 4.339 MB / 0.7777 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.745, allocations: 1.922 MB / 0.7796 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005247/0.7503, allocations: 2.654 MB / 0.7822 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.7515, allocations: 291.9 kB / 0.7825 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.7546, allocations: 0.8858 MB / 0.7834 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.7558, allocations: 1.102 MB / 0.7844 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.7596, allocations: 2.129 MB / 0.7865 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008713/0.7683, allocations: 6.43 MB / 0.7928 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7683, allocations: 0 / 0.7928 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7683, allocations: 0 / 0.7928 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002062/0.7685, allocations: 0 / 0.7928 GB, free: 8.648 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01525/0.7838, allocations: 5.096 MB / 0.7978 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.7839, allocations: 12.03 kB / 0.7978 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001818/0.7857, allocations: 0.5104 MB / 0.7983 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.8004, allocations: 2.83 MB / 0.801 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/0.808, allocations: 2.535 MB / 0.8035 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.8084, allocations: 279.5 kB / 0.8038 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.8102, allocations: 368 kB / 0.8041 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.8317, allocations: 5.724 MB / 0.8097 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/0.832, allocations: 3.938 kB / 0.8097 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/0.8335, allocations: 156 kB / 0.8099 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.8337, allocations: 99.94 kB / 0.81 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.8538, allocations: 6.85 MB / 0.8167 GB, free: 15.96 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.04329/0.8972, allocations: 17.37 MB / 0.8336 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.9094, allocations: 4.493 MB / 0.838 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007351/0.9169, allocations: 2.939 MB / 0.8409 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.9183, allocations: 0.6816 MB / 0.8415 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00842/0.9267, allocations: 2.713 MB / 0.8442 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=315): time 1.008e-05/0.9268, allocations: 3.938 kB / 0.8442 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315): time 0.03234/0.9591, allocations: 9.699 MB / 0.8537 GB, free: 8.992 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.9593, allocations: 218.4 kB / 0.8539 GB, free: 8.734 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/0.9651, allocations: 2.65 MB / 0.8565 GB, free: 6.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.9662, allocations: 81.7 kB / 0.8565 GB, free: 5.984 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.9681, allocations: 1.55 MB / 0.8581 GB, free: 4.418 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002129/0.9702, allocations: 1.039 MB / 0.8591 GB, free: 3.363 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002709/0.9729, allocations: 0.5249 MB / 0.8596 GB, free: 2.832 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9731, allocations: 309.1 kB / 0.8599 GB, free: 2.527 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006173/0.9793, allocations: 2.156 MB / 0.862 GB, free: 376 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4345/1.414, allocations: 2.523 MB / 0.8644 GB, free: 218.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.424, allocations: 4.683 MB / 0.869 GB, free: 217.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.424, allocations: 2.75 kB / 0.869 GB, free: 217.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01244/1.437, allocations: 5.746 MB / 0.8746 GB, free: 215.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.437, allocations: 8.969 kB / 0.8746 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.437, allocations: 6.156 kB / 0.8746 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/1.438, allocations: 0.8296 MB / 0.8755 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.442, allocations: 0.8053 MB / 0.8762 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/1.451, allocations: 7.001 MB / 0.8831 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/1.455, allocations: 0.5867 MB / 0.8837 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005653/1.456, allocations: 112.8 kB / 0.8838 GB, free: 211.8 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002309/1.458, allocations: 1.02 MB / 0.8848 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/1.459, allocations: 306.1 kB / 0.8851 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.472, allocations: 6.388 MB / 0.8913 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.472, allocations: 34.72 kB / 0.8913 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.472, allocations: 8.375 kB / 0.8913 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.401e-05/1.472, allocations: 19.81 kB / 0.8913 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.496, allocations: 10.72 MB / 0.9018 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.496, allocations: 0 / 0.9018 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004194/1.5, allocations: 0.7678 MB / 0.9026 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/1.502, allocations: 0.7408 MB / 0.9033 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005679/1.503, allocations: 88.7 kB / 0.9034 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.514, allocations: 9.793 MB / 0.9129 GB, free: 197.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.514, allocations: 0 / 0.9129 GB, free: 197.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/1.537, allocations: 9.08 MB / 0.9218 GB, free: 194.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/1.54, allocations: 0.9025 MB / 0.9227 GB, free: 194 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/1.541, allocations: 69.94 kB / 0.9228 GB, free: 194 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003912/1.545, allocations: 430.6 kB / 0.9232 GB, free: 193.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/1.545, allocations: 212.9 kB / 0.9234 GB, free: 193.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003223/1.546, allocations: 104.2 kB / 0.9235 GB, free: 193.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003091/1.549, allocations: 1.925 MB / 0.9254 GB, free: 193.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/1.549, allocations: 0 / 0.9254 GB, free: 193.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004213/1.553, allocations: 1.225 MB / 0.9265 GB, free: 192.9 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.01949/1.573, allocations: 10.57 MB / 0.9369 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.585, allocations: 5.476 MB / 0.9422 GB, free: 183.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.585, allocations: 3.938 kB / 0.9422 GB, free: 183.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007448/1.592, allocations: 3.313 MB / 0.9455 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/1.598, allocations: 0.7178 MB / 0.9462 GB, free: 179.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07809/1.676, allocations: 38.94 MB / 0.9842 GB, free: 139.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/1.679, allocations: 2.702 MB / 0.9868 GB, free: 136.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005693/1.685, allocations: 1.162 MB / 0.988 GB, free: 135.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003215/1.688, allocations: 1.643 MB / 0.9896 GB, free: 133.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.764e-06/1.688, allocations: 0 / 0.9896 GB, free: 133.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.801, allocations: 78.49 MB / 1.066 GB, free: 55.95 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/1.801, allocations: 288.5 kB / 1.066 GB, free: 55.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.137/5.938, allocations: 0 / 1.066 GB, free: 55.58 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)