Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009207/0.0009207, allocations: 111.9 kB / 16.41 MB, free: 6.461 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.001193/0.001193, allocations: 187 kB / 17.34 MB, free: 5.719 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7086/0.7086, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 60.59 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.4593/0.58, allocations: 202.1 MB / 0.8627 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.5939, allocations: 10.15 MB / 0.8726 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.5959, allocations: 67.62 kB / 0.8727 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.5991, allocations: 2.723 MB / 0.8753 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004825/0.6039, allocations: 2.748 MB / 0.878 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.6072, allocations: 1.46 MB / 0.8794 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.6116, allocations: 3.986 MB / 0.8833 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.6142, allocations: 2.158 MB / 0.8854 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.617, allocations: 1.719 MB / 0.8871 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.6196, allocations: 2.336 MB / 0.8894 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.6199, allocations: 184 kB / 0.8896 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.6225, allocations: 1.493 MB / 0.891 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007003/0.6233, allocations: 0.8978 MB / 0.8919 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.6243, allocations: 1.281 MB / 0.8931 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.6279, allocations: 3.765 MB / 0.8968 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6279, allocations: 0 / 0.8968 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6279, allocations: 4 kB / 0.8968 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.799e-05/0.6279, allocations: 0 / 0.8968 GB, free: 1.973 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004349/0.6323, allocations: 3.284 MB / 0.9 GB, free: 14.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6324, allocations: 17.05 kB / 0.9001 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6339, allocations: 455.8 kB / 0.9005 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.636, allocations: 1.592 MB / 0.902 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.6361, allocations: 140 kB / 0.9022 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.6363, allocations: 136 kB / 0.9023 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.6386, allocations: 1.507 MB / 0.9038 GB, free: 10.67 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.6387, allocations: 7.875 kB / 0.9038 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6388, allocations: 55.98 kB / 0.9038 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.6389, allocations: 42.44 kB / 0.9039 GB, free: 10.56 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.6409, allocations: 1.251 MB / 0.9051 GB, free: 9.305 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.007476/0.6484, allocations: 6.501 MB / 0.9114 GB, free: 2.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.6504, allocations: 1.217 MB / 0.9126 GB, free: 1.137 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.6515, allocations: 0.6785 MB / 0.9133 GB, free: 464 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.6519, allocations: 296.3 kB / 0.9136 GB, free: 108 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.653, allocations: 0.6815 MB / 0.9142 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 2.855e-06/0.653, allocations: 0 / 0.9142 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004882/0.6579, allocations: 2.378 MB / 0.9166 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.6579, allocations: 64.41 kB / 0.9166 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.6618, allocations: 4.023 MB / 0.9206 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.6619, allocations: 57.64 kB / 0.9206 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009937/0.6629, allocations: 1.275 MB / 0.9219 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.6632, allocations: 378.7 kB / 0.9222 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.6635, allocations: 218.9 kB / 0.9224 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6637, allocations: 353.9 kB / 0.9228 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/0.6645, allocations: 0.4944 MB / 0.9233 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.6656, allocations: 0.7495 MB / 0.924 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.6675, allocations: 1.255 MB / 0.9252 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.6675, allocations: 4 kB / 0.9252 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002959/0.6704, allocations: 1.772 MB / 0.9269 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6705, allocations: 10.5 kB / 0.927 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6705, allocations: 8 kB / 0.927 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/0.6711, allocations: 221.5 kB / 0.9272 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.6719, allocations: 243.6 kB / 0.9274 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.676, allocations: 4.608 MB / 0.9319 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.677, allocations: 131 kB / 0.932 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.6771, allocations: 59.92 kB / 0.9321 GB, free: 12.57 MB / 0.7012 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.001026/0.6781, allocations: 0.8019 MB / 0.9329 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.6784, allocations: 280.4 kB / 0.9331 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.681, allocations: 1.644 MB / 0.9347 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.681, allocations: 12 kB / 0.9348 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.681, allocations: 7.938 kB / 0.9348 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/0.6831, allocations: 1.44 MB / 0.9362 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/0.688, allocations: 3.598 MB / 0.9397 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.688, allocations: 0 / 0.9397 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.6888, allocations: 171.8 kB / 0.9398 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.6892, allocations: 224.2 kB / 0.9401 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.6893, allocations: 27.98 kB / 0.9401 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.6932, allocations: 4.641 MB / 0.9446 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6932, allocations: 4.031 kB / 0.9446 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.6966, allocations: 2.384 MB / 0.947 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.6972, allocations: 437.3 kB / 0.9474 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.6974, allocations: 36 kB / 0.9474 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.6981, allocations: 47.95 kB / 0.9474 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.6983, allocations: 108.7 kB / 0.9476 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.6983, allocations: 43.97 kB / 0.9476 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002672/0.701, allocations: 2.916 MB / 0.9504 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.701, allocations: 0 / 0.9504 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001347/0.7024, allocations: 0.5145 MB / 0.9509 GB, free: 8.746 MB / 0.7169 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.001288/0.7037, allocations: 0.6009 MB / 0.9515 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.7063, allocations: 1.54 MB / 0.953 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.7063, allocations: 4.125 kB / 0.953 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.7076, allocations: 0.9205 MB / 0.9539 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.7098, allocations: 0.6006 MB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.7169, allocations: 5.777 MB / 0.9602 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.7183, allocations: 1.897 MB / 0.962 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.7186, allocations: 119.4 kB / 0.9621 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7186, allocations: 0 / 0.9621 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.05576/0.7744, allocations: 50.65 MB / 1.012 GB, free: 10.75 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)