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.001238/0.001238, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 187.4 kB / 16.25 MB, free: 6.629 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7274/0.7274, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.19 kB / 0.5013 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1765, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5991/0.7757, allocations: 199.4 MB / 0.7744 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.8039, allocations: 14.93 MB / 0.789 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/0.8092, allocations: 87.5 kB / 0.7891 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003986/0.8133, allocations: 1.167 MB / 0.7902 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009182/0.8225, allocations: 2.437 MB / 0.7926 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006639/0.8292, allocations: 1.958 MB / 0.7945 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.8398, allocations: 6.683 MB / 0.8011 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008508/0.8483, allocations: 5.514 MB / 0.8064 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005812/0.8542, allocations: 2.636 MB / 0.809 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006029/0.8602, allocations: 3.184 MB / 0.8121 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00221/0.8625, allocations: 0.5664 MB / 0.8127 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.8688, allocations: 1.966 MB / 0.8146 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003254/0.8721, allocations: 1.624 MB / 0.8162 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00538/0.8775, allocations: 2.659 MB / 0.8188 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.8904, allocations: 7.708 MB / 0.8263 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.8904, allocations: 3.984 kB / 0.8263 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8905, allocations: 0 / 0.8263 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003496/0.8908, allocations: 0 / 0.8263 GB, free: 6.371 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.01663/0.9075, allocations: 5.624 MB / 0.8318 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.9075, allocations: 16.03 kB / 0.8318 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001107/0.9086, allocations: 0.5595 MB / 0.8324 GB, free: 80 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.9246, allocations: 2.989 MB / 0.8353 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.9307, allocations: 2.683 MB / 0.8379 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/0.931, allocations: 316.2 kB / 0.8382 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.9322, allocations: 407.9 kB / 0.8386 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.9479, allocations: 6.225 MB / 0.8447 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.306e-05/0.948, allocations: 7.906 kB / 0.8447 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/0.9485, allocations: 167.9 kB / 0.8448 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.9486, allocations: 148 kB / 0.845 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.967, allocations: 7.321 MB / 0.8521 GB, free: 11.61 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.3993/1.366, allocations: 18.88 MB / 0.8706 GB, free: 212.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009465/1.376, allocations: 4.8 MB / 0.8753 GB, free: 211.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006084/1.382, allocations: 3.163 MB / 0.8783 GB, free: 210.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009943/1.383, allocations: 0.6969 MB / 0.879 GB, free: 209.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006445/1.389, allocations: 2.937 MB / 0.8819 GB, free: 208.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.931e-06/1.39, allocations: 6.344 kB / 0.8819 GB, free: 208.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04387/1.433, allocations: 16.24 MB / 0.8978 GB, free: 203.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.434, allocations: 221.9 kB / 0.898 GB, free: 203.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/1.438, allocations: 2.899 MB / 0.9008 GB, free: 202.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009312/1.439, allocations: 89.55 kB / 0.9009 GB, free: 202 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.441, allocations: 1.682 MB / 0.9025 GB, free: 200.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002067/1.443, allocations: 1.157 MB / 0.9037 GB, free: 199.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/1.444, allocations: 0.5685 MB / 0.9042 GB, free: 199.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/1.445, allocations: 303.2 kB / 0.9045 GB, free: 199.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006188/1.451, allocations: 2.314 MB / 0.9068 GB, free: 198.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006494/1.457, allocations: 2.685 MB / 0.9094 GB, free: 197.7 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.3563/1.814, allocations: 86.65 MB / 0.994 GB, free: 130.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.814, allocations: 0 / 0.994 GB, free: 130.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01209/1.826, allocations: 6.16 MB / 1 GB, free: 124.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/1.826, allocations: 29.7 kB / 1 GB, free: 124 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.826, allocations: 4 kB / 1 GB, free: 124 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/1.827, allocations: 0.824 MB / 1.001 GB, free: 123.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/1.831, allocations: 0.8561 MB / 1.002 GB, free: 122.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008311/1.84, allocations: 7.508 MB / 1.009 GB, free: 114.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/1.845, allocations: 487.1 kB / 1.009 GB, free: 114.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005927/1.845, allocations: 123.9 kB / 1.01 GB, free: 114.2 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.002639/1.848, allocations: 1.143 MB / 1.011 GB, free: 113.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009937/1.849, allocations: 343.8 kB / 1.011 GB, free: 112.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.862, allocations: 6.765 MB / 1.018 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.862, allocations: 36 kB / 1.018 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.862, allocations: 11.94 kB / 1.018 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01043/1.873, allocations: 5.917 MB / 1.023 GB, free: 99.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.892, allocations: 11.74 MB / 1.035 GB, free: 88.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.892, allocations: 4 kB / 1.035 GB, free: 88.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004064/1.896, allocations: 0.8507 MB / 1.036 GB, free: 87.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/1.897, allocations: 0.702 MB / 1.036 GB, free: 86.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003403/1.898, allocations: 95.92 kB / 1.037 GB, free: 86.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008667/1.906, allocations: 10.07 MB / 1.046 GB, free: 75.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.906, allocations: 7.938 kB / 1.046 GB, free: 75.87 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.924, allocations: 9.804 MB / 1.056 GB, free: 65.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/1.926, allocations: 0.9144 MB / 1.057 GB, free: 64.99 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000668/1.927, allocations: 87.83 kB / 1.057 GB, free: 64.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003582/1.93, allocations: 464.4 kB / 1.057 GB, free: 64.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/1.931, allocations: 254.3 kB / 1.058 GB, free: 64.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/1.931, allocations: 119.9 kB / 1.058 GB, free: 64.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002226/1.933, allocations: 2.107 MB / 1.06 GB, free: 61.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.11e-07/1.933, allocations: 0 / 1.06 GB, free: 61.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003093/1.937, allocations: 1.099 MB / 1.061 GB, free: 60.9 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.0184/1.955, allocations: 11.33 MB / 1.072 GB, free: 49.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02162/1.977, allocations: 10.33 MB / 1.082 GB, free: 39.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.977, allocations: 4 kB / 1.082 GB, free: 39.56 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006175/1.983, allocations: 3.541 MB / 1.085 GB, free: 35.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/1.987, allocations: 1.036 MB / 1.086 GB, free: 35.03 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.288/2.275, allocations: 43.32 MB / 1.129 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/2.278, allocations: 2.93 MB / 1.132 GB, free: 205 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004381/2.282, allocations: 1.282 MB / 1.133 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/2.284, allocations: 1.809 MB / 1.135 GB, free: 203.5 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/2.284, allocations: 0 / 1.135 GB, free: 203.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5214/2.806, allocations: 91.68 MB / 1.224 GB, free: 153.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/2.806, allocations: 296.3 kB / 1.225 GB, free: 153 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.554/7.36, allocations: 3.828 kB / 1.225 GB, free: 153 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)