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.001545/0.001545, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8095/0.8095, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.62 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5777, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2057/0.7834, allocations: 163.1 MB / 0.7395 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04353/0.827, allocations: 27.45 MB / 0.7663 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005393/0.8324, allocations: 87.56 kB / 0.7663 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.8359, allocations: 1.122 MB / 0.7674 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.8431, allocations: 1.893 MB / 0.7693 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.8487, allocations: 1.981 MB / 0.7712 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.8593, allocations: 5.817 MB / 0.7769 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006672/0.866, allocations: 4.881 MB / 0.7817 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006065/0.8721, allocations: 2.303 MB / 0.7839 GB, free: 168 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005799/0.8779, allocations: 2.818 MB / 0.7867 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.8794, allocations: 0.5234 MB / 0.7872 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.8825, allocations: 1.105 MB / 0.7883 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.8838, allocations: 1.363 MB / 0.7896 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002967/0.8868, allocations: 2.402 MB / 0.7919 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007391/0.8942, allocations: 6.637 MB / 0.7984 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.8942, allocations: 7.984 kB / 0.7984 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8942, allocations: 0 / 0.7984 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001033/0.8943, allocations: 0 / 0.7984 GB, free: 1.258 MB / 0.6231 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.01066/0.905, allocations: 5.102 MB / 0.8034 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.9051, allocations: 8.031 kB / 0.8034 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006701/0.9057, allocations: 0.5142 MB / 0.8039 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.9193, allocations: 2.83 MB / 0.8067 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/0.9259, allocations: 2.502 MB / 0.8091 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/0.9262, allocations: 287.5 kB / 0.8094 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.9277, allocations: 372 kB / 0.8098 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3404/1.268, allocations: 5.718 MB / 0.8153 GB, free: 213 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/1.268, allocations: 4.516 kB / 0.8153 GB, free: 213 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005209/1.269, allocations: 156.2 kB / 0.8155 GB, free: 213 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/1.269, allocations: 91.25 kB / 0.8156 GB, free: 213 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/1.289, allocations: 6.854 MB / 0.8223 GB, free: 211.4 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.04332/1.333, allocations: 17.41 MB / 0.8393 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/1.345, allocations: 4.491 MB / 0.8437 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006401/1.351, allocations: 2.934 MB / 0.8465 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.352, allocations: 0.6829 MB / 0.8472 GB, free: 196.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006602/1.359, allocations: 2.718 MB / 0.8499 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 6.412e-06/1.359, allocations: 0 / 0.8499 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02679/1.386, allocations: 9.69 MB / 0.8593 GB, free: 187.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/1.386, allocations: 218.4 kB / 0.8595 GB, free: 187 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/1.39, allocations: 2.654 MB / 0.8621 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008862/1.391, allocations: 85.7 kB / 0.8622 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.393, allocations: 1.545 MB / 0.8637 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.395, allocations: 1.049 MB / 0.8647 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002462/1.397, allocations: 0.525 MB / 0.8652 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/1.397, allocations: 305.1 kB / 0.8655 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005086/1.402, allocations: 2.168 MB / 0.8677 GB, free: 178.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005421/1.408, allocations: 2.517 MB / 0.8701 GB, free: 176 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.418, allocations: 4.684 MB / 0.8747 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.418, allocations: 0 / 0.8747 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01357/1.432, allocations: 5.752 MB / 0.8803 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.432, allocations: 4 kB / 0.8803 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.432, allocations: 4 kB / 0.8803 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/1.433, allocations: 0.8357 MB / 0.8811 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/1.438, allocations: 0.7956 MB / 0.8819 GB, free: 163.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00971/1.447, allocations: 7.578 MB / 0.8893 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/1.452, allocations: 0.5632 MB / 0.8899 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008975/1.453, allocations: 115.9 kB / 0.89 GB, free: 155.4 MB / 0.6387 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.0034/1.456, allocations: 1.02 MB / 0.891 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.458, allocations: 304.2 kB / 0.8912 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.474, allocations: 6.384 MB / 0.8975 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.474, allocations: 36 kB / 0.8975 GB, free: 147.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/1.474, allocations: 8 kB / 0.8975 GB, free: 147.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.821e-05/1.474, allocations: 23.86 kB / 0.8975 GB, free: 147.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/1.499, allocations: 10.73 MB / 0.908 GB, free: 136.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.499, allocations: 0 / 0.908 GB, free: 136.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/1.503, allocations: 0.7645 MB / 0.9088 GB, free: 136.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.505, allocations: 0.7457 MB / 0.9095 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006732/1.506, allocations: 79.94 kB / 0.9096 GB, free: 135.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.516, allocations: 10.68 MB / 0.92 GB, free: 124.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.516, allocations: 4 kB / 0.92 GB, free: 124.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/1.536, allocations: 9.067 MB / 0.9289 GB, free: 115 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/1.539, allocations: 0.8946 MB / 0.9297 GB, free: 114 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.54, allocations: 71.83 kB / 0.9298 GB, free: 114 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003947/1.544, allocations: 413.1 kB / 0.9302 GB, free: 113.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008356/1.545, allocations: 210.3 kB / 0.9304 GB, free: 113.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005767/1.546, allocations: 107.9 kB / 0.9305 GB, free: 113.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00329/1.549, allocations: 1.928 MB / 0.9324 GB, free: 111.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/1.549, allocations: 0 / 0.9324 GB, free: 111.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005186/1.554, allocations: 1.214 MB / 0.9336 GB, free: 110.1 MB / 0.6387 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.02315/1.577, allocations: 10.58 MB / 0.9439 GB, free: 99.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02255/1.6, allocations: 9.304 MB / 0.953 GB, free: 90.62 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.6, allocations: 0 / 0.953 GB, free: 90.62 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008632/1.609, allocations: 3.323 MB / 0.9562 GB, free: 87.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006574/1.615, allocations: 0.7727 MB / 0.957 GB, free: 86.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07553/1.691, allocations: 37.4 MB / 0.9935 GB, free: 47.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/1.694, allocations: 2.691 MB / 0.9961 GB, free: 44.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005747/1.7, allocations: 1.165 MB / 0.9973 GB, free: 43.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003496/1.703, allocations: 1.639 MB / 0.9989 GB, free: 41.96 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/1.703, allocations: 3.938 kB / 0.9989 GB, free: 41.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4798/2.183, allocations: 80.8 MB / 1.078 GB, free: 229.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.43, allocations: 9.469 kB / 1.078 GB, free: 229.1 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)