Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8975/0.8975, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001135/0.001135, allocations: 173.1 kB / 191.5 MB, free: 5.762 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.352/1.352, allocations: 223.2 MB / 447.7 MB, free: 6.535 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.0008545/0.0008545, allocations: 96.2 kB / 0.5188 GB, free: 2.891 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 274.8 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004267, allocations: 16 kB / 0.6929 GB, free: 2.332 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3298, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4645, allocations: 109.6 MB / 0.8807 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4648, allocations: 75.83 kB / 0.8808 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004739/0.4695, allocations: 1.568 MB / 0.8823 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.428e-06/0.4696, allocations: 0 / 0.8823 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4696, allocations: 3.938 kB / 0.8823 GB, free: 10.88 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005833/0.4702, allocations: 442.5 kB / 0.8827 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4702, allocations: 16.56 kB / 0.8828 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.4703, allocations: 7.906 kB / 0.8828 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4705, allocations: 183.1 kB / 0.8829 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4705, allocations: 11.98 kB / 0.8829 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.4705, allocations: 8 kB / 0.883 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.4708, allocations: 117.6 kB / 0.8831 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4709, allocations: 4 kB / 0.8831 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4709, allocations: 0 / 0.8831 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4709, allocations: 3.938 kB / 0.8831 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.4712, allocations: 103.9 kB / 0.8832 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.4718, allocations: 352.5 kB / 0.8835 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.4721, allocations: 122.5 kB / 0.8836 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.4721, allocations: 0 / 0.8836 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.4724, allocations: 131.5 kB / 0.8837 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4725, allocations: 0 / 0.8837 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.000713/0.4732, allocations: 299.1 kB / 0.884 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.4732, allocations: 85.09 kB / 0.8841 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.4733, allocations: 114.8 kB / 0.8842 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4734, allocations: 33.64 kB / 0.8843 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.4734, allocations: 96.03 kB / 0.8843 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.4735, allocations: 15.81 kB / 0.8844 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.4735, allocations: 8 kB / 0.8844 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4736, allocations: 322.8 kB / 0.8847 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4738, allocations: 71.95 kB / 0.8847 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.474, allocations: 75.95 kB / 0.8848 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.4742, allocations: 111.4 kB / 0.8849 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4742, allocations: 0 / 0.8849 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004995/0.4747, allocations: 272.9 kB / 0.8852 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.4747, allocations: 64.81 kB / 0.8852 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.4748, allocations: 0 / 0.8852 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.4748, allocations: 0 / 0.8852 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4749, allocations: 19.98 kB / 0.8853 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.4749, allocations: 0 / 0.8853 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4751, allocations: 39.81 kB / 0.8853 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.4751, allocations: 8 kB / 0.8853 GB, free: 7.531 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001099/0.4753, allocations: 159.4 kB / 0.8855 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.4753, allocations: 11.91 kB / 0.8855 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.4753, allocations: 12.36 kB / 0.8855 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4753, allocations: 4 kB / 0.8855 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4753, allocations: 0 / 0.8855 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4753, allocations: 0 / 0.8855 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4755, allocations: 201.6 kB / 0.8857 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4755, allocations: 256 / 0.8857 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.4756, allocations: 19.98 kB / 0.8857 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4756, allocations: 0 / 0.8857 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4756, allocations: 7.984 kB / 0.8857 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4756, allocations: 96 / 0.8857 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4756, allocations: 7.938 kB / 0.8857 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.4761, allocations: 266.5 kB / 0.886 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.4762, allocations: 85.02 kB / 0.8861 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4762, allocations: 4 kB / 0.8861 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4764, allocations: 27.97 kB / 0.8861 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4765, allocations: 35.95 kB / 0.8861 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.4765, allocations: 4 kB / 0.8861 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.4766, allocations: 101.4 kB / 0.8862 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4766, allocations: 4 kB / 0.8862 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001991/0.4768, allocations: 20 kB / 0.8862 GB, free: 6.473 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.000122/0.4769, allocations: 111.2 kB / 0.8863 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.4774, allocations: 282.6 kB / 0.8866 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4774, allocations: 0 / 0.8866 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.4777, allocations: 143.4 kB / 0.8868 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.4779, allocations: 14.52 kB / 0.8868 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.4783, allocations: 241.2 kB / 0.887 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.4786, allocations: 0.6887 MB / 0.8877 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.574e-05/0.4786, allocations: 12.17 kB / 0.8877 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.4787, allocations: 11.44 kB / 0.8877 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of SimCode: time 3.6e-07/0.4787, allocations: 0 / 0.8877 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of Templates: time 0.003582/0.4823, allocations: 1.539 MB / 0.8892 GB, free: 3.363 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)