Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation") translateModel(BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6672/0.6672, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 183.3 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 394.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007334/0.0007334, allocations: 101.1 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004225, allocations: 8 kB / 0.5423 GB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3959, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.5367, allocations: 103.7 MB / 0.7163 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.5369, allocations: 55.92 kB / 0.7164 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.5544, allocations: 6.393 MB / 0.7226 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5545, allocations: 0 / 0.7226 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.5545, allocations: 12 kB / 0.7227 GB, free: 7.82 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001315/0.5558, allocations: 0.9413 MB / 0.7236 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5559, allocations: 8.031 kB / 0.7236 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.556, allocations: 60.28 kB / 0.7236 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.5564, allocations: 315.6 kB / 0.7239 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.5565, allocations: 41.38 kB / 0.724 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.5566, allocations: 56.28 kB / 0.724 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008596/0.5574, allocations: 464.8 kB / 0.7245 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5575, allocations: 4.188 kB / 0.7245 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.5575, allocations: 31.92 kB / 0.7245 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.5575, allocations: 8 kB / 0.7245 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.5583, allocations: 384.1 kB / 0.7249 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.5606, allocations: 1.563 MB / 0.7264 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.5615, allocations: 414.3 kB / 0.7268 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.5619, allocations: 222.2 kB / 0.727 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.562, allocations: 8.312 kB / 0.727 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/0.5627, allocations: 0.5293 MB / 0.7275 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 5.932e-06/0.5627, allocations: 4.094 kB / 0.7275 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.001533/0.5643, allocations: 0.9419 MB / 0.7285 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003148/0.5646, allocations: 495.1 kB / 0.7289 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.5649, allocations: 236.9 kB / 0.7292 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.5649, allocations: 41.7 kB / 0.7292 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5651, allocations: 209.1 kB / 0.7294 GB, free: 408 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.5652, allocations: 193.3 kB / 0.7296 GB, free: 212 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.5653, allocations: 16 kB / 0.7296 GB, free: 196 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5655, allocations: 354.7 kB / 0.7299 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.5658, allocations: 185.5 kB / 0.7301 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.5663, allocations: 234.4 kB / 0.7303 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.5692, allocations: 1.925 MB / 0.7322 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5692, allocations: 0 / 0.7322 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001201/0.5704, allocations: 0.8259 MB / 0.733 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.5706, allocations: 271.3 kB / 0.7333 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5706, allocations: 0 / 0.7333 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.5706, allocations: 7.938 kB / 0.7333 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.571, allocations: 95.86 kB / 0.7334 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.571, allocations: 4 kB / 0.7334 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.5713, allocations: 71.42 kB / 0.7335 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.5714, allocations: 23.98 kB / 0.7335 GB, free: 11.87 MB / 0.5105 GB Warning: Assuming fixed start value for the following 8 variables: inconfortThsansPresence.IntegraleTempFroid1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempChaud1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempFroid.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempChaud.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempFroid1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempChaud1.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempFroid.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempChaud.preIt:DISCRETE(start = 0.0 fixed = true protected = true ) "Total integral at the previous time step Dt" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.inconfortThsansPresence.IntegraleTempFroid1.preIt,$PRE.inconfortThsansPresence.IntegraleTempChaud1.preIt,$PRE.inconfortThsansPresence.IntegraleTempFroid.preIt,$PRE.inconfortThsansPresence.IntegraleTempChaud.preIt,$PRE.inconfortThavecPresence.IntegraleTempFroid1.preIt,$PRE.inconfortThavecPresence.IntegraleTempChaud1.preIt,$PRE.inconfortThavecPresence.IntegraleTempFroid.preIt,$PRE.inconfortThavecPresence.IntegraleTempChaud.preIt,$PRE.pulse.T_start,$PRE.pulse.count,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,inconfortThavecPresence.IntegraleTempChaud.preIt,inconfortThavecPresence.IntegraleTempFroid.preIt,inconfortThavecPresence.IntegraleTempChaud1.preIt,inconfortThavecPresence.IntegraleTempFroid1.preIt,inconfortThavecPresence.booleanToReal.u,inconfortThavecPresence.booleanToReal1.u,pulse.T_start,pulse.count,inconfortThsansPresence.IntegraleTempChaud.preIt,inconfortThsansPresence.IntegraleTempFroid.preIt,inconfortThsansPresence.IntegraleTempChaud1.preIt,inconfortThsansPresence.IntegraleTempFroid1.preIt,inconfortThsansPresence.booleanToReal.u,inconfortThsansPresence.booleanToReal1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005506/0.5719, allocations: 475.9 kB / 0.7339 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.572, allocations: 47.53 kB / 0.734 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.5734, allocations: 0.8795 MB / 0.7348 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5734, allocations: 11.92 kB / 0.7348 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5734, allocations: 0 / 0.7348 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5734, allocations: 0 / 0.7348 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.5741, allocations: 0.5444 MB / 0.7354 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5741, allocations: 0 / 0.7354 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.5745, allocations: 83.92 kB / 0.7355 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5745, allocations: 4 kB / 0.7355 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.5746, allocations: 27.92 kB / 0.7355 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5746, allocations: 7.938 kB / 0.7355 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5746, allocations: 3.938 kB / 0.7355 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.5767, allocations: 1.196 MB / 0.7367 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5768, allocations: 124.4 kB / 0.7368 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.5769, allocations: 20 kB / 0.7368 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.5771, allocations: 39.98 kB / 0.7368 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.5773, allocations: 47.92 kB / 0.7369 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.5773, allocations: 23.98 kB / 0.7369 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001654/0.5775, allocations: 168.5 kB / 0.7371 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5775, allocations: 0 / 0.7371 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005095/0.578, allocations: 143.7 kB / 0.7372 GB, free: 7.805 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (inconfortThavecPresence.IntegraleTempChaud.It,inconfortThavecPresence.IntegraleTempFroid.It,inconfortThavecPresence.IntegraleTempChaud1.It,inconfortThavecPresence.IntegraleTempFroid1.It,inconfortThsansPresence.IntegraleTempChaud.It,inconfortThsansPresence.IntegraleTempFroid.It,inconfortThsansPresence.IntegraleTempChaud1.It,inconfortThsansPresence.IntegraleTempFroid1.It) * Number of discrete variables: 23 ($whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,inconfortThavecPresence.IntegraleTempChaud.preIt,inconfortThavecPresence.IntegraleTempFroid.preIt,inconfortThavecPresence.IntegraleTempChaud1.preIt,inconfortThavecPresence.IntegraleTempFroid1.preIt,inconfortThavecPresence.booleanToReal.u,inconfortThavecPresence.booleanToReal1.u,pulse.T_start,pulse.count,inconfortThsansPresence.IntegraleTempChaud.preIt,inconfortThsansPresence.IntegraleTempFroid.preIt,inconfortThsansPresence.IntegraleTempChaud1.preIt,inconfortThsansPresence.IntegraleTempFroid1.preIt,inconfortThsansPresence.booleanToReal.u,inconfortThsansPresence.booleanToReal1.u) * Number of discrete states: 17 (inconfortThavecPresence.IntegraleTempChaud.preIt,$whenCondition1,inconfortThavecPresence.IntegraleTempFroid.preIt,$whenCondition2,inconfortThavecPresence.IntegraleTempChaud1.preIt,$whenCondition3,inconfortThavecPresence.IntegraleTempFroid1.preIt,$whenCondition4,inconfortThsansPresence.IntegraleTempChaud.preIt,$whenCondition5,inconfortThsansPresence.IntegraleTempFroid.preIt,$whenCondition6,inconfortThsansPresence.IntegraleTempChaud1.preIt,$whenCondition7,inconfortThsansPresence.IntegraleTempFroid1.preIt,$whenCondition8,pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000269/0.5783, allocations: 158.8 kB / 0.7374 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.5798, allocations: 1.08 MB / 0.7384 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5798, allocations: 0 / 0.7384 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.5808, allocations: 0.8199 MB / 0.7392 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.5813, allocations: 52.42 kB / 0.7393 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5836, allocations: 1.17 MB / 0.7404 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.584, allocations: 0.828 MB / 0.7412 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.5842, allocations: 43.27 kB / 0.7413 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.5843, allocations: 31.42 kB / 0.7413 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.5843, allocations: 0 / 0.7413 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of Templates: time 0.3338/0.9181, allocations: 4.414 MB / 0.7456 GB, free: 123.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.makefile (rm -f BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe >> ../files/BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.sim & ./BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation.pipe 2>&1)