Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8476/0.8476, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 172.9 kB / 182.2 MB, free: 9.441 MB / 154.7 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: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009549/0.0009552, allocations: 92.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001939/0.001939, allocations: 288.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.651e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4112, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.652/5.063, allocations: 2.154 GB / 2.912 GB, free: 184.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/5.064, allocations: 91.83 kB / 2.912 GB, free: 184.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.902/6.966, allocations: 0.6323 GB / 3.544 GB, free: 79.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/6.966, allocations: 3.938 kB / 3.544 GB, free: 79.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002537/6.966, allocations: 58.34 kB / 3.544 GB, free: 79.77 MB / 0.698 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.004497/6.971, allocations: 2.637 MB / 3.547 GB, free: 77.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/6.971, allocations: 12.03 kB / 3.547 GB, free: 77.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/6.973, allocations: 459.8 kB / 3.547 GB, free: 76.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/6.978, allocations: 2.659 MB / 3.55 GB, free: 73.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/6.979, allocations: 104.2 kB / 3.55 GB, free: 73.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/6.979, allocations: 83.89 kB / 3.55 GB, free: 73.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00165/6.98, allocations: 1.043 MB / 3.551 GB, free: 72.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/6.982, allocations: 1.222 MB / 3.552 GB, free: 71.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/6.982, allocations: 7.938 kB / 3.552 GB, free: 71.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/6.982, allocations: 0 / 3.552 GB, free: 71.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/6.982, allocations: 54.36 kB / 3.552 GB, free: 71.42 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00756/6.99, allocations: 6.429 MB / 3.559 GB, free: 64.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/6.991, allocations: 1.052 MB / 3.56 GB, free: 63.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/6.992, allocations: 0.5664 MB / 3.56 GB, free: 63.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/6.992, allocations: 292.3 kB / 3.56 GB, free: 62.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007593/6.993, allocations: 0.5818 MB / 3.561 GB, free: 62.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 3.256e-06/6.993, allocations: 4 kB / 3.561 GB, free: 62.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.002562/6.996, allocations: 1.405 MB / 3.562 GB, free: 60.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/6.996, allocations: 64.72 kB / 3.562 GB, free: 60.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/7, allocations: 3.362 MB / 3.566 GB, free: 57.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/7, allocations: 29.7 kB / 3.566 GB, free: 57.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008793/7.001, allocations: 1.298 MB / 3.567 GB, free: 55.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/7.002, allocations: 358.3 kB / 3.567 GB, free: 55.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/7.002, allocations: 0 / 3.567 GB, free: 55.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/7.002, allocations: 357.9 kB / 3.568 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/7.002, allocations: 406.5 kB / 3.568 GB, free: 54.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/7.003, allocations: 0.6539 MB / 3.569 GB, free: 54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/7.004, allocations: 0.5332 MB / 3.569 GB, free: 53.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/7.004, allocations: 4 kB / 3.569 GB, free: 53.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002424/7.006, allocations: 1.546 MB / 3.571 GB, free: 51.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/7.006, allocations: 13.55 kB / 3.571 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/7.006, allocations: 12 kB / 3.571 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/7.007, allocations: 206.5 kB / 3.571 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/7.008, allocations: 251.7 kB / 3.571 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/7.011, allocations: 4.027 MB / 3.575 GB, free: 47.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/7.012, allocations: 186.8 kB / 3.575 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/7.013, allocations: 48 kB / 3.575 GB, free: 46.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002342/7.013, allocations: 149.9 kB / 3.576 GB, free: 46.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/7.013, allocations: 280.5 kB / 3.576 GB, free: 46.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/7.016, allocations: 1.51 MB / 3.577 GB, free: 44.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/7.016, allocations: 12 kB / 3.577 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/7.016, allocations: 7.953 kB / 3.577 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001851/7.018, allocations: 1.307 MB / 3.579 GB, free: 43.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/7.024, allocations: 3.834 MB / 3.582 GB, free: 39.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/7.024, allocations: 4 kB / 3.582 GB, free: 39.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/7.024, allocations: 187.9 kB / 3.583 GB, free: 39.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/7.025, allocations: 203 kB / 3.583 GB, free: 39.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/7.025, allocations: 19.97 kB / 3.583 GB, free: 39.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/7.028, allocations: 4.042 MB / 3.587 GB, free: 35.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/7.028, allocations: 0 / 3.587 GB, free: 35.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/7.031, allocations: 2.292 MB / 3.589 GB, free: 32.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009905/7.032, allocations: 0.6339 MB / 3.59 GB, free: 32.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/7.033, allocations: 23.94 kB / 3.59 GB, free: 31.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/7.033, allocations: 95.91 kB / 3.59 GB, free: 31.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/7.034, allocations: 101.2 kB / 3.59 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/7.034, allocations: 39.98 kB / 3.59 GB, free: 31.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002804/7.037, allocations: 2.63 MB / 3.592 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/7.037, allocations: 4 kB / 3.592 GB, free: 29.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002719/7.039, allocations: 0.7174 MB / 3.593 GB, free: 28.4 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002276/7.042, allocations: 1.832 MB / 3.595 GB, free: 26.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001859/7.043, allocations: 1.332 MB / 3.596 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/7.043, allocations: 0 / 3.596 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/7.044, allocations: 0.8355 MB / 3.597 GB, free: 24.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/7.047, allocations: 0.5255 MB / 3.597 GB, free: 24.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/7.054, allocations: 4.947 MB / 3.602 GB, free: 19.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/7.055, allocations: 1.977 MB / 3.604 GB, free: 17.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001151/7.056, allocations: 430.1 kB / 3.605 GB, free: 16.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/7.056, allocations: 155.3 kB / 3.605 GB, free: 16.52 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/7.056, allocations: 0 / 3.605 GB, free: 16.52 MB / 0.698 GB Notification: Performance of Templates: time 0.3972/7.454, allocations: 33.02 MB / 3.637 GB, free: 123.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)