Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 115.9 kB / 17.08 MB, free: 6.004 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.001324/0.001324, allocations: 195 kB / 18.02 MB, free: 5.086 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7836/0.7836, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.77 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1595, allocations: 76.18 MB / 0.6327 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.6451/0.8046, allocations: 202.1 MB / 0.8301 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.8227, allocations: 10.16 MB / 0.84 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/0.8268, allocations: 69.72 kB / 0.8401 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004227/0.8311, allocations: 2.728 MB / 0.8428 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007243/0.8384, allocations: 2.752 MB / 0.8455 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004845/0.8432, allocations: 1.458 MB / 0.8469 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006561/0.8498, allocations: 3.991 MB / 0.8508 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004126/0.854, allocations: 2.16 MB / 0.8529 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.8586, allocations: 1.726 MB / 0.8546 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003964/0.8626, allocations: 2.346 MB / 0.8569 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008647/0.8635, allocations: 188 kB / 0.857 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.8678, allocations: 1.501 MB / 0.8585 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.8691, allocations: 0.8979 MB / 0.8594 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.8716, allocations: 1.277 MB / 0.8606 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00743/0.8791, allocations: 3.75 MB / 0.8643 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8791, allocations: 3.938 kB / 0.8643 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8791, allocations: 4 kB / 0.8643 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001485/0.8793, allocations: 0 / 0.8643 GB, free: 15.21 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.008115/0.8874, allocations: 3.304 MB / 0.8675 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.8875, allocations: 8.031 kB / 0.8675 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.8898, allocations: 451.7 kB / 0.868 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.8933, allocations: 1.596 MB / 0.8695 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.8935, allocations: 132.2 kB / 0.8697 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.894, allocations: 135.8 kB / 0.8698 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/0.8977, allocations: 1.515 MB / 0.8713 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.8978, allocations: 4 kB / 0.8713 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.898, allocations: 51.98 kB / 0.8713 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.8981, allocations: 50.44 kB / 0.8714 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.9009, allocations: 1.247 MB / 0.8726 GB, free: 6.527 MB / 0.6231 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.01154/0.9125, allocations: 6.524 MB / 0.879 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.9151, allocations: 1.194 MB / 0.8801 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.9165, allocations: 0.6752 MB / 0.8808 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.917, allocations: 300.2 kB / 0.8811 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.9184, allocations: 0.6775 MB / 0.8817 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.727e-06/0.9184, allocations: 0 / 0.8817 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.00576/0.9242, allocations: 2.379 MB / 0.8841 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.9243, allocations: 72.34 kB / 0.8841 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/0.9299, allocations: 4.019 MB / 0.888 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.9302, allocations: 53.64 kB / 0.8881 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.9315, allocations: 1.287 MB / 0.8894 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006216/0.9321, allocations: 382.6 kB / 0.8897 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005215/0.9326, allocations: 211 kB / 0.8899 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9328, allocations: 357.9 kB / 0.8903 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.9339, allocations: 0.4944 MB / 0.8907 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.9351, allocations: 0.75 MB / 0.8915 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.9373, allocations: 1.258 MB / 0.8927 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.9374, allocations: 4 kB / 0.8927 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00348/0.9408, allocations: 1.768 MB / 0.8944 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.9409, allocations: 11.98 kB / 0.8944 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.9409, allocations: 8 kB / 0.8945 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/0.9416, allocations: 221.9 kB / 0.8947 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.9425, allocations: 239.6 kB / 0.8949 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.9475, allocations: 4.612 MB / 0.8994 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9489, allocations: 143.4 kB / 0.8995 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.9491, allocations: 44 kB / 0.8996 GB, free: 9.781 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.ventRate.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,ventRate.nextTimeEventScaled,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001498/0.9506, allocations: 0.8215 MB / 0.9004 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/0.9512, allocations: 268.5 kB / 0.9006 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.9546, allocations: 1.652 MB / 0.9022 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.9546, allocations: 11.98 kB / 0.9023 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.9547, allocations: 4 kB / 0.9023 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00242/0.9571, allocations: 1.44 MB / 0.9037 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/0.9641, allocations: 3.61 MB / 0.9072 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.9641, allocations: 4 kB / 0.9072 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.965, allocations: 167.9 kB / 0.9074 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.9655, allocations: 201.6 kB / 0.9076 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.9657, allocations: 35.92 kB / 0.9076 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/0.9706, allocations: 4.654 MB / 0.9121 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9706, allocations: 4.031 kB / 0.9121 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.9751, allocations: 2.349 MB / 0.9144 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009298/0.9761, allocations: 429.3 kB / 0.9148 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/0.9765, allocations: 31.98 kB / 0.9149 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.9774, allocations: 52.61 kB / 0.9149 GB, free: 9.559 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.9777, allocations: 100.8 kB / 0.915 GB, free: 9.461 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-05/0.9778, allocations: 39.98 kB / 0.9151 GB, free: 9.422 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003897/0.9817, allocations: 2.916 MB / 0.9179 GB, free: 6.508 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9817, allocations: 0 / 0.9179 GB, free: 6.508 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002092/0.9838, allocations: 0.5184 MB / 0.9184 GB, free: 5.988 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,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.001683/0.9855, allocations: 0.5987 MB / 0.919 GB, free: 5.574 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003363/0.9889, allocations: 1.546 MB / 0.9205 GB, free: 4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.9889, allocations: 0 / 0.9205 GB, free: 4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.9907, allocations: 0.9212 MB / 0.9214 GB, free: 3.055 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.994, allocations: 0.6029 MB / 0.922 GB, free: 2.488 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/1.003, allocations: 5.77 MB / 0.9276 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/1.006, allocations: 1.893 MB / 0.9295 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/1.006, allocations: 123.4 kB / 0.9296 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of SimCode: time 8.52e-07/1.006, allocations: 0 / 0.9296 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.06945/1.076, allocations: 50.21 MB / 0.9786 GB, free: 8.453 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)