Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_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.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 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.001197/0.001197, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.928/0.928, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 60.41 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1812, allocations: 80.92 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6234/0.8046, allocations: 202.1 MB / 0.7818 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0309/0.8356, allocations: 15.14 MB / 0.7966 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006995/0.8426, allocations: 95.5 kB / 0.7967 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003768/0.8464, allocations: 1.305 MB / 0.798 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.8566, allocations: 2.642 MB / 0.8005 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00686/0.8635, allocations: 2.182 MB / 0.8027 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.8741, allocations: 6.67 MB / 0.8092 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008311/0.8824, allocations: 5.525 MB / 0.8146 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.8878, allocations: 2.605 MB / 0.8171 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/0.8933, allocations: 3.093 MB / 0.8201 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.8948, allocations: 0.5703 MB / 0.8207 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004916/0.8997, allocations: 1.919 MB / 0.8226 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.9016, allocations: 1.617 MB / 0.8242 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003994/0.9056, allocations: 2.644 MB / 0.8267 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.9164, allocations: 7.63 MB / 0.8342 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9164, allocations: 0 / 0.8342 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9164, allocations: 0 / 0.8342 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002187/0.9167, allocations: 0 / 0.8342 GB, free: 13.03 MB / 0.6544 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.01595/0.9326, allocations: 5.625 MB / 0.8397 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.9327, allocations: 8.031 kB / 0.8397 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009552/0.9336, allocations: 0.5595 MB / 0.8402 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.9492, allocations: 3.005 MB / 0.8432 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.9573, allocations: 2.687 MB / 0.8458 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.9577, allocations: 312.2 kB / 0.8461 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.9593, allocations: 404 kB / 0.8465 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.9775, allocations: 6.222 MB / 0.8526 GB, free: 9.934 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.9777, allocations: 4 kB / 0.8526 GB, free: 9.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.979, allocations: 175.9 kB / 0.8527 GB, free: 9.758 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.9791, allocations: 140 kB / 0.8529 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/0.9987, allocations: 7.325 MB / 0.86 GB, free: 2.27 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.4418/1.441, allocations: 18.91 MB / 0.8785 GB, free: 207.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009713/1.45, allocations: 4.809 MB / 0.8832 GB, free: 206.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006322/1.457, allocations: 3.165 MB / 0.8863 GB, free: 205.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/1.458, allocations: 0.6931 MB / 0.8869 GB, free: 204.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006213/1.464, allocations: 2.932 MB / 0.8898 GB, free: 203.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 6.422e-06/1.464, allocations: 0 / 0.8898 GB, free: 203.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04661/1.511, allocations: 16.24 MB / 0.9057 GB, free: 198 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.511, allocations: 223.1 kB / 0.9059 GB, free: 197.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005893/1.517, allocations: 2.894 MB / 0.9087 GB, free: 196.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/1.518, allocations: 89.83 kB / 0.9088 GB, free: 196.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.52, allocations: 1.699 MB / 0.9104 GB, free: 195.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.522, allocations: 1.155 MB / 0.9116 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/1.523, allocations: 0.5612 MB / 0.9121 GB, free: 194.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/1.523, allocations: 307.4 kB / 0.9124 GB, free: 194 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006005/1.529, allocations: 2.31 MB / 0.9147 GB, free: 193.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006975/1.536, allocations: 2.686 MB / 0.9173 GB, free: 192.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.3547/1.891, allocations: 86.65 MB / 1.002 GB, free: 119.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.891, allocations: 3.938 kB / 1.002 GB, free: 119.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01379/1.905, allocations: 6.155 MB / 1.008 GB, free: 113.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/1.905, allocations: 31.27 kB / 1.008 GB, free: 113.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/1.905, allocations: 8.094 kB / 1.008 GB, free: 113.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/1.907, allocations: 0.82 MB / 1.009 GB, free: 112.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/1.911, allocations: 0.858 MB / 1.01 GB, free: 111.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/1.921, allocations: 7.516 MB / 1.017 GB, free: 104 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.926, allocations: 432 kB / 1.017 GB, free: 103.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009222/1.927, allocations: 119.9 kB / 1.017 GB, free: 103.5 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.003542/1.931, allocations: 1.142 MB / 1.019 GB, free: 102.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.932, allocations: 343.8 kB / 1.019 GB, free: 102 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/1.948, allocations: 6.764 MB / 1.026 GB, free: 95.15 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.948, allocations: 36 kB / 1.026 GB, free: 95.11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/1.948, allocations: 8 kB / 1.026 GB, free: 95.11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01209/1.96, allocations: 5.929 MB / 1.031 GB, free: 89.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.983, allocations: 11.74 MB / 1.043 GB, free: 77.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.983, allocations: 4 kB / 1.043 GB, free: 77.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004147/1.987, allocations: 0.8546 MB / 1.044 GB, free: 76.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/1.989, allocations: 0.7059 MB / 1.044 GB, free: 75.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/1.989, allocations: 91.94 kB / 1.044 GB, free: 75.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008988/1.998, allocations: 10.05 MB / 1.054 GB, free: 65.11 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.998, allocations: 11.88 kB / 1.054 GB, free: 65.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/2.018, allocations: 9.803 MB / 1.064 GB, free: 55.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/2.021, allocations: 0.9144 MB / 1.065 GB, free: 54.22 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/2.022, allocations: 83.83 kB / 1.065 GB, free: 54.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/2.026, allocations: 429.8 kB / 1.065 GB, free: 53.72 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007642/2.027, allocations: 254.3 kB / 1.065 GB, free: 53.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004436/2.027, allocations: 119.9 kB / 1.066 GB, free: 53.36 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003389/2.031, allocations: 2.107 MB / 1.068 GB, free: 51.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.182e-06/2.031, allocations: 0 / 1.068 GB, free: 51.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004325/2.035, allocations: 1.091 MB / 1.069 GB, free: 50.18 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.02262/2.058, allocations: 11.33 MB / 1.08 GB, free: 39.13 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02416/2.082, allocations: 10.33 MB / 1.09 GB, free: 28.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/2.082, allocations: 0 / 1.09 GB, free: 28.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007356/2.089, allocations: 3.553 MB / 1.093 GB, free: 25.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/2.096, allocations: 1.03 MB / 1.094 GB, free: 24.18 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3842/2.48, allocations: 41.62 MB / 1.135 GB, free: 201 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/2.482, allocations: 2.923 MB / 1.138 GB, free: 200 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004181/2.486, allocations: 1.27 MB / 1.139 GB, free: 200 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/2.488, allocations: 1.809 MB / 1.141 GB, free: 198.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/2.488, allocations: 0 / 1.141 GB, free: 198.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/2.745, allocations: 92.01 MB / 1.231 GB, free: 143.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/14.82, allocations: 5.625 kB / 1.231 GB, free: 143.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)