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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4618/0.4618, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 105.4 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 47.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4425, allocations: 70.07 MB / 0.5575 GB, free: 44.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5432/0.9858, allocations: 199.8 MB / 0.7526 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01518/1.001, allocations: 10.23 MB / 0.7626 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003777/1.005, allocations: 60.72 kB / 0.7627 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/1.008, allocations: 2.619 MB / 0.7653 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006133/1.014, allocations: 2.623 MB / 0.7678 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004034/1.018, allocations: 1.315 MB / 0.7691 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009168/1.027, allocations: 4.909 MB / 0.7739 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006251/1.034, allocations: 1.894 MB / 0.7757 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005078/1.039, allocations: 1.503 MB / 0.7772 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/1.043, allocations: 2.346 MB / 0.7795 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000904/1.044, allocations: 99.66 kB / 0.7796 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005187/1.05, allocations: 1.611 MB / 0.7812 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001854/1.051, allocations: 0.8332 MB / 0.782 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002993/1.054, allocations: 1.193 MB / 0.7831 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.007245/1.062, allocations: 3.706 MB / 0.7868 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.062, allocations: 6.625 kB / 0.7868 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/1.062, allocations: 0 / 0.7868 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001984/1.062, allocations: 0 / 0.7868 GB, free: 12.3 MB / 0.5261 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.007886/1.07, allocations: 3.291 MB / 0.79 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.07, allocations: 12.03 kB / 0.79 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/1.072, allocations: 458.3 kB / 0.7904 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/1.074, allocations: 1.554 MB / 0.792 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/1.075, allocations: 140.2 kB / 0.7921 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/1.075, allocations: 133.7 kB / 0.7922 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/1.078, allocations: 1.518 MB / 0.7937 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.078, allocations: 0 / 0.7937 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.078, allocations: 51.98 kB / 0.7937 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/1.078, allocations: 42.44 kB / 0.7938 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/1.08, allocations: 1.26 MB / 0.795 GB, free: 4.148 MB / 0.5261 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.0112/1.092, allocations: 6.52 MB / 0.8014 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/1.094, allocations: 1.204 MB / 0.8026 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/1.095, allocations: 0.6786 MB / 0.8032 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/1.096, allocations: 300 kB / 0.8035 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/1.097, allocations: 0.6751 MB / 0.8042 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 6.752e-06/1.097, allocations: 0 / 0.8042 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=114): time 0.005361/1.102, allocations: 2.381 MB / 0.8065 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.103, allocations: 74.52 kB / 0.8066 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/1.107, allocations: 4.023 MB / 0.8105 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.108, allocations: 56.23 kB / 0.8105 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.109, allocations: 1.275 MB / 0.8118 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005227/1.109, allocations: 373.7 kB / 0.8121 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/1.11, allocations: 218.9 kB / 0.8124 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.11, allocations: 353.9 kB / 0.8127 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.111, allocations: 0.4984 MB / 0.8132 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.112, allocations: 0.7442 MB / 0.8139 GB, free: 244 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/1.114, allocations: 1.259 MB / 0.8151 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.114, allocations: 8.062 kB / 0.8151 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003366/1.118, allocations: 1.773 MB / 0.8169 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.118, allocations: 9.406 kB / 0.8169 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.118, allocations: 4 kB / 0.8169 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/1.118, allocations: 228.2 kB / 0.8171 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/1.119, allocations: 243.1 kB / 0.8173 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/1.124, allocations: 4.197 MB / 0.8214 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.125, allocations: 193.5 kB / 0.8216 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.125, allocations: 55.92 kB / 0.8217 GB, free: 8.031 MB / 0.5573 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.001465/1.127, allocations: 0.8091 MB / 0.8225 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/1.127, allocations: 272.5 kB / 0.8227 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/1.13, allocations: 1.654 MB / 0.8243 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.13, allocations: 12 kB / 0.8244 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.13, allocations: 7.938 kB / 0.8244 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002354/1.133, allocations: 1.446 MB / 0.8258 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006638/1.14, allocations: 3.613 MB / 0.8293 GB, free: 136 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.14, allocations: 0 / 0.8293 GB, free: 136 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/1.14, allocations: 170.2 kB / 0.8295 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/1.141, allocations: 205.6 kB / 0.8297 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/1.141, allocations: 40 kB / 0.8297 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004352/1.145, allocations: 4.226 MB / 0.8338 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.145, allocations: 0 / 0.8338 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02756/1.173, allocations: 16.4 MB / 0.8498 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/1.174, allocations: 437.3 kB / 0.8503 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/1.174, allocations: 31.94 kB / 0.8503 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008429/1.175, allocations: 99.91 kB / 0.8504 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.175, allocations: 95.39 kB / 0.8505 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/1.175, allocations: 47.91 kB / 0.8505 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003425/1.179, allocations: 2.916 MB / 0.8534 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.179, allocations: 0 / 0.8534 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002751/1.181, allocations: 0.741 MB / 0.8541 GB, free: 6.055 MB / 0.5886 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.00142/1.183, allocations: 0.5997 MB / 0.8547 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00295/1.186, allocations: 1.526 MB / 0.8562 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.186, allocations: 7.938 kB / 0.8562 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.187, allocations: 0.9283 MB / 0.8571 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.19, allocations: 0.5765 MB / 0.8576 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.201, allocations: 7.538 MB / 0.865 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.203, allocations: 1.954 MB / 0.8669 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001341/1.205, allocations: 335 kB / 0.8672 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/1.205, allocations: 119.4 kB / 0.8673 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/1.205, allocations: 4 kB / 0.8673 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of Templates: time 0.04841/1.253, allocations: 28.11 MB / 0.8948 GB, free: 12.81 MB / 0.6355 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)