Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001306/0.001306, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001068/0.001068, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8046/0.8046, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.89 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3724, allocations: 80.19 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5359/0.9083, allocations: 202.1 MB / 0.7788 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.9238, allocations: 10.16 MB / 0.7888 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.9268, allocations: 68.28 kB / 0.7888 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.9304, allocations: 2.727 MB / 0.7915 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.9361, allocations: 2.75 MB / 0.7942 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.94, allocations: 1.462 MB / 0.7956 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005608/0.9456, allocations: 3.975 MB / 0.7995 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004077/0.9497, allocations: 2.143 MB / 0.8016 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.9546, allocations: 1.717 MB / 0.8033 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.9589, allocations: 2.338 MB / 0.8055 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009291/0.9599, allocations: 186.1 kB / 0.8057 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.9642, allocations: 1.493 MB / 0.8072 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.9656, allocations: 0.8877 MB / 0.808 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.9682, allocations: 1.287 MB / 0.8093 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006888/0.9751, allocations: 3.754 MB / 0.813 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9752, allocations: 1.531 kB / 0.813 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9752, allocations: 3.188 kB / 0.813 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001595/0.9753, allocations: 0 / 0.813 GB, free: 15.66 MB / 0.5919 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.007431/0.9828, allocations: 3.29 MB / 0.8162 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.9828, allocations: 10.97 kB / 0.8162 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.9849, allocations: 461.7 kB / 0.8166 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.9882, allocations: 1.593 MB / 0.8182 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.9884, allocations: 134.1 kB / 0.8183 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.9888, allocations: 128.1 kB / 0.8184 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.9923, allocations: 1.517 MB / 0.8199 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.9923, allocations: 2.125 kB / 0.8199 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.9925, allocations: 52.12 kB / 0.82 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.808e-05/0.9926, allocations: 47.7 kB / 0.82 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.9953, allocations: 1.254 MB / 0.8212 GB, free: 12.29 MB / 0.5919 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.01045/1.006, allocations: 6.502 MB / 0.8276 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/1.008, allocations: 1.21 MB / 0.8288 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/1.009, allocations: 0.6747 MB / 0.8294 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/1.01, allocations: 295.4 kB / 0.8297 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/1.011, allocations: 0.6742 MB / 0.8304 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 3.666e-06/1.011, allocations: 1.125 kB / 0.8304 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.005185/1.016, allocations: 2.371 MB / 0.8327 GB, free: 5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/1.016, allocations: 72.39 kB / 0.8328 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/1.021, allocations: 4.019 MB / 0.8367 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/1.021, allocations: 53.7 kB / 0.8367 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.022, allocations: 1.277 MB / 0.838 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/1.023, allocations: 386.8 kB / 0.8383 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/1.023, allocations: 214.9 kB / 0.8386 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.023, allocations: 361.8 kB / 0.8389 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/1.024, allocations: 498.3 kB / 0.8394 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.025, allocations: 0.762 MB / 0.8401 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.027, allocations: 1.26 MB / 0.8413 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.027, allocations: 0 / 0.8413 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003263/1.03, allocations: 1.767 MB / 0.8431 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.03, allocations: 14.69 kB / 0.8431 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.03, allocations: 8 kB / 0.8431 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/1.031, allocations: 214.6 kB / 0.8433 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/1.032, allocations: 247.6 kB / 0.8435 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/1.037, allocations: 4.613 MB / 0.848 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.038, allocations: 139 kB / 0.8482 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.038, allocations: 44 kB / 0.8482 GB, free: 4.711 MB / 0.6075 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.001312/1.039, allocations: 0.8175 MB / 0.849 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/1.04, allocations: 280.4 kB / 0.8493 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/1.043, allocations: 1.641 MB / 0.8509 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.043, allocations: 12 kB / 0.8509 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.043, allocations: 4 kB / 0.8509 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002257/1.045, allocations: 1.441 MB / 0.8523 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/1.051, allocations: 3.6 MB / 0.8558 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.051, allocations: 0 / 0.8558 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/1.052, allocations: 180.8 kB / 0.856 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/1.053, allocations: 207.3 kB / 0.8562 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/1.053, allocations: 31.98 kB / 0.8562 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/1.057, allocations: 4.651 MB / 0.8608 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.057, allocations: 7.969 kB / 0.8608 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/1.061, allocations: 2.381 MB / 0.8631 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009391/1.062, allocations: 433.4 kB / 0.8635 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/1.062, allocations: 27.98 kB / 0.8635 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/1.063, allocations: 55.95 kB / 0.8636 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.063, allocations: 96.81 kB / 0.8637 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/1.064, allocations: 47.97 kB / 0.8637 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003236/1.067, allocations: 2.913 MB / 0.8666 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.71e-07/1.067, allocations: 4 kB / 0.8666 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00161/1.068, allocations: 0.5145 MB / 0.8671 GB, free: 1 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],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.001354/1.07, allocations: 0.5986 MB / 0.8677 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002738/1.073, allocations: 1.544 MB / 0.8692 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.073, allocations: 0 / 0.8692 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.074, allocations: 0.922 MB / 0.8701 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.076, allocations: 0.6102 MB / 0.8707 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/1.084, allocations: 5.66 MB / 0.8762 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.086, allocations: 1.918 MB / 0.8781 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001057/1.087, allocations: 319 kB / 0.8784 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.087, allocations: 119.4 kB / 0.8785 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.087, allocations: 0 / 0.8785 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of Templates: time 0.04574/1.133, allocations: 25.73 MB / 0.9036 GB, free: 12.18 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)