Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",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.001527/0.001527, 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.001906/0.001906, allocations: 196.5 kB / 16.14 MB, free: 6.668 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7363/0.7363, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 67.64 kB / 0.5012 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2054, allocations: 80.2 MB / 0.5795 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5719/0.7774, allocations: 199.7 MB / 0.7745 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.8077, allocations: 15.15 MB / 0.7893 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008663/0.8164, allocations: 83.56 kB / 0.7894 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.8215, allocations: 1.143 MB / 0.7905 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.8322, allocations: 2.421 MB / 0.7929 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007957/0.8401, allocations: 1.943 MB / 0.7948 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0133/0.8534, allocations: 7.366 MB / 0.802 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.8647, allocations: 4.909 MB / 0.8068 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006256/0.871, allocations: 2.202 MB / 0.8089 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00673/0.8777, allocations: 2.945 MB / 0.8118 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002397/0.8802, allocations: 320 kB / 0.8121 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006784/0.887, allocations: 1.84 MB / 0.8139 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003369/0.8904, allocations: 1.343 MB / 0.8152 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007071/0.8975, allocations: 2.358 MB / 0.8175 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.9132, allocations: 7.466 MB / 0.8248 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.9133, allocations: 0 / 0.8248 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.477e-06/0.9133, allocations: 0 / 0.8248 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003751/0.9137, allocations: 0 / 0.8248 GB, free: 7.887 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.02095/0.9347, allocations: 5.622 MB / 0.8303 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.9348, allocations: 8.031 kB / 0.8303 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002596/0.9374, allocations: 0.5634 MB / 0.8309 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.9544, allocations: 3.001 MB / 0.8338 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008408/0.9629, allocations: 2.683 MB / 0.8364 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.9634, allocations: 308.2 kB / 0.8367 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.9655, allocations: 408 kB / 0.8371 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.9867, allocations: 6.215 MB / 0.8432 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.9869, allocations: 4 kB / 0.8432 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/0.9885, allocations: 175.9 kB / 0.8433 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.9887, allocations: 144 kB / 0.8435 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/1.011, allocations: 7.325 MB / 0.8506 GB, free: 13.14 MB / 0.67 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.4294/1.44, allocations: 18.88 MB / 0.8691 GB, free: 212.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009354/1.45, allocations: 4.812 MB / 0.8738 GB, free: 210.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00607/1.456, allocations: 3.158 MB / 0.8768 GB, free: 209.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.457, allocations: 0.7051 MB / 0.8775 GB, free: 209.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006526/1.463, allocations: 2.926 MB / 0.8804 GB, free: 208.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 6.843e-06/1.463, allocations: 0 / 0.8804 GB, free: 208.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04162/1.505, allocations: 16.25 MB / 0.8963 GB, free: 203 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.505, allocations: 216.9 kB / 0.8965 GB, free: 202.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007097/1.512, allocations: 2.906 MB / 0.8993 GB, free: 201.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009279/1.513, allocations: 88.89 kB / 0.8994 GB, free: 201.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.516, allocations: 1.686 MB / 0.901 GB, free: 200.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002568/1.518, allocations: 1.148 MB / 0.9022 GB, free: 199.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/1.52, allocations: 0.5656 MB / 0.9027 GB, free: 199.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/1.52, allocations: 303 kB / 0.903 GB, free: 199 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006438/1.527, allocations: 2.313 MB / 0.9053 GB, free: 198.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006407/1.533, allocations: 2.69 MB / 0.9079 GB, free: 197.3 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3468/1.88, allocations: 86.62 MB / 0.9925 GB, free: 131.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-06/1.88, allocations: 0 / 0.9925 GB, free: 131.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01443/1.894, allocations: 6.154 MB / 0.9985 GB, free: 125.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/1.894, allocations: 33.7 kB / 0.9985 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.894, allocations: 0 / 0.9985 GB, free: 125.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/1.896, allocations: 0.8201 MB / 0.9993 GB, free: 124.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/1.9, allocations: 0.8604 MB / 1 GB, free: 124 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/1.909, allocations: 6.934 MB / 1.007 GB, free: 116.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.915, allocations: 494.7 kB / 1.007 GB, free: 116.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009664/1.916, allocations: 123.9 kB / 1.008 GB, free: 116.3 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.intGai.nextTimeEvent,$whenCondition2,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 1 * 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.00408/1.92, allocations: 1.126 MB / 1.009 GB, free: 115.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/1.921, allocations: 343.7 kB / 1.009 GB, free: 114.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/1.937, allocations: 6.779 MB / 1.016 GB, free: 108 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.938, allocations: 43.92 kB / 1.016 GB, free: 108 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/1.938, allocations: 8 kB / 1.016 GB, free: 108 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01174/1.949, allocations: 5.913 MB / 1.021 GB, free: 101.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/1.973, allocations: 11.74 MB / 1.033 GB, free: 90.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.973, allocations: 4 kB / 1.033 GB, free: 90.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004107/1.977, allocations: 0.8507 MB / 1.034 GB, free: 89.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/1.979, allocations: 0.698 MB / 1.034 GB, free: 88.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005559/1.98, allocations: 91.94 kB / 1.034 GB, free: 88.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009322/1.989, allocations: 9.19 MB / 1.043 GB, free: 78.87 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.989, allocations: 7.938 kB / 1.043 GB, free: 78.86 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/2.01, allocations: 9.807 MB / 1.053 GB, free: 68.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/2.013, allocations: 0.9105 MB / 1.054 GB, free: 67.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/2.014, allocations: 87.77 kB / 1.054 GB, free: 67.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004432/2.018, allocations: 472.1 kB / 1.054 GB, free: 67.44 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008411/2.019, allocations: 254.2 kB / 1.055 GB, free: 67.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005282/2.02, allocations: 119.9 kB / 1.055 GB, free: 67.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00338/2.023, allocations: 2.103 MB / 1.057 GB, free: 64.97 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/2.023, allocations: 0 / 1.057 GB, free: 64.97 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005022/2.028, allocations: 1.103 MB / 1.058 GB, free: 63.89 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02228/2.051, allocations: 11.33 MB / 1.069 GB, free: 52.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01232/2.063, allocations: 5.882 MB / 1.075 GB, free: 46.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/2.063, allocations: 0 / 1.075 GB, free: 46.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006839/2.07, allocations: 3.553 MB / 1.078 GB, free: 43.38 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006594/2.077, allocations: 0.9565 MB / 1.079 GB, free: 42.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3718/2.448, allocations: 43.33 MB / 1.121 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/2.451, allocations: 2.924 MB / 1.124 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004665/2.455, allocations: 1.276 MB / 1.126 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002538/2.458, allocations: 1.805 MB / 1.127 GB, free: 203.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/2.458, allocations: 1.969 kB / 1.127 GB, free: 203.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/2.58, allocations: 89.5 MB / 1.215 GB, free: 162.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/2.58, allocations: 291.9 kB / 1.215 GB, free: 162 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.241/6.821, allocations: 0 / 1.215 GB, free: 162 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)