Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008849, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008589/0.0008589, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 265.6 kB / 291.2 MB, free: 2.004 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7137/0.7137, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 11.31 kB / 0.5683 GB, free: 38.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 83.08 MB / 0.6494 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001367/0.1183, allocations: 1.159 MB / 0.6505 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005524/0.1189, allocations: 415.4 kB / 0.6509 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.1189, allocations: 0 / 0.6509 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1189, allocations: 7.922 kB / 0.651 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.664e-05/0.119, allocations: 8 kB / 0.651 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.1192, allocations: 19.91 kB / 0.651 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.1192, allocations: 28.75 kB / 0.651 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.1193, allocations: 16.48 kB / 0.651 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.1194, allocations: 12.5 kB / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.1194, allocations: 28.45 kB / 0.6511 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1194, allocations: 0 / 0.6511 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.1195, allocations: 6.312 kB / 0.6511 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1195, allocations: 4 kB / 0.6511 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1195, allocations: 29.7 kB / 0.6511 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.386e-05/0.1196, allocations: 31.94 kB / 0.6511 GB, free: 1.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.1196, allocations: 0 / 0.6511 GB, free: 1.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1196, allocations: 0 / 0.6511 GB, free: 1.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1196, allocations: 0.75 kB / 0.6511 GB, free: 1.879 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004003/0.12, allocations: 353.4 kB / 0.6515 GB, free: 1.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.12, allocations: 11.97 kB / 0.6515 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1201, allocations: 8.562 kB / 0.6515 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1202, allocations: 167.1 kB / 0.6516 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1202, allocations: 8.672 kB / 0.6517 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1202, allocations: 4 kB / 0.6517 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.1203, allocations: 54.83 kB / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1203, allocations: 4 kB / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1203, allocations: 1.469 kB / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1204, allocations: 11.86 kB / 0.6517 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.1204, allocations: 23.98 kB / 0.6517 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.1208, allocations: 311.2 kB / 0.652 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.1209, allocations: 59.66 kB / 0.6521 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.121, allocations: 4.656 kB / 0.6521 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.1211, allocations: 76.25 kB / 0.6522 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1211, allocations: 2.188 kB / 0.6522 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001914/0.1213, allocations: 97.61 kB / 0.6523 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1213, allocations: 55.41 kB / 0.6523 GB, free: 492 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.1214, allocations: 113.7 kB / 0.6524 GB, free: 368 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1214, allocations: 26.33 kB / 0.6525 GB, free: 336 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.1215, allocations: 88.14 kB / 0.6525 GB, free: 244 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1215, allocations: 16.59 kB / 0.6526 GB, free: 228 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.1215, allocations: 4 kB / 0.6526 GB, free: 224 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.1216, allocations: 323.5 kB / 0.6529 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.1216, allocations: 12.88 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.1217, allocations: 45.05 kB / 0.6529 GB, free: 15.83 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.1217, allocations: 23.98 kB / 0.653 GB, free: 15.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1217, allocations: 2.031 kB / 0.653 GB, free: 15.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001206/0.1219, allocations: 89.56 kB / 0.653 GB, free: 15.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1219, allocations: 9.562 kB / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1219, allocations: 0 / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1219, allocations: 4 kB / 0.6531 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.122, allocations: 12.64 kB / 0.6531 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.122, allocations: 0 / 0.6531 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1221, allocations: 20.75 kB / 0.6531 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1221, allocations: 3.438 kB / 0.6531 GB, free: 15.67 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.1222, allocations: 131.4 kB / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.1222, allocations: 0 / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.1222, allocations: 7.969 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1222, allocations: 4 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1222, allocations: 3.938 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1222, allocations: 0 / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.1226, allocations: 364.1 kB / 0.6536 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1226, allocations: 4.562 kB / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.1226, allocations: 11.98 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1226, allocations: 1.062 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1226, allocations: 4.281 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1226, allocations: 0 / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1226, allocations: 4.031 kB / 0.6536 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1228, allocations: 183.4 kB / 0.6538 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.1228, allocations: 85 kB / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1228, allocations: 0 / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1229, allocations: 11.98 kB / 0.6539 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.123, allocations: 7.984 kB / 0.6539 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.123, allocations: 4 kB / 0.6539 GB, free: 14.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.123, allocations: 83.28 kB / 0.654 GB, free: 14.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.123, allocations: 0 / 0.654 GB, free: 14.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1232, allocations: 16 kB / 0.654 GB, free: 14.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.91e-05/0.1233, allocations: 101.4 kB / 0.6541 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1234, allocations: 59.97 kB / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.1234, allocations: 0 / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.1235, allocations: 23.94 kB / 0.6541 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.1237, allocations: 20.38 kB / 0.6542 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.124, allocations: 176.5 kB / 0.6543 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1242, allocations: 0.6926 MB / 0.655 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.466e-05/0.1242, allocations: 4 kB / 0.655 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1243, allocations: 11.44 kB / 0.655 GB, free: 13.52 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1243, allocations: 0 / 0.655 GB, free: 13.52 MB / 462.1 MB Notification: Performance of Templates: time 0.002198/0.1265, allocations: 0.6532 MB / 0.6557 GB, free: 12.88 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: