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.7702/0.7702, allocations: 141.8 MB / 149.3 MB, free: 9.188 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.0009473/0.0009473, allocations: 180.2 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.514/1.514, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.001028/0.001028, allocations: 84.12 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 282.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.257e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3431, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4684, allocations: 108.8 MB / 0.8637 GB, free: 3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4687, allocations: 75.83 kB / 0.8637 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004689/0.4734, allocations: 1.534 MB / 0.8652 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4734, allocations: 0 / 0.8652 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.4734, allocations: 4 kB / 0.8652 GB, free: 1.391 MB / 0.5261 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.0005112/0.4739, allocations: 429.8 kB / 0.8656 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.474, allocations: 8.031 kB / 0.8656 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.474, allocations: 15.89 kB / 0.8657 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4742, allocations: 197.9 kB / 0.8658 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4742, allocations: 4 kB / 0.8659 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.4743, allocations: 4 kB / 0.8659 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001366/0.4744, allocations: 51.98 kB / 0.8659 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.4746, allocations: 89.66 kB / 0.866 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4746, allocations: 0 / 0.866 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4746, allocations: 0 / 0.866 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.4746, allocations: 4 kB / 0.866 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.4752, allocations: 317.2 kB / 0.8663 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4753, allocations: 74.5 kB / 0.8664 GB, free: 76 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/0.4754, allocations: 48.98 kB / 0.8664 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4754, allocations: 0 / 0.8664 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.4756, allocations: 99.36 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4756, allocations: 0 / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0003167/0.476, allocations: 145.5 kB / 0.8666 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.476, allocations: 89.05 kB / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.4761, allocations: 114.5 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4762, allocations: 33.64 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.4762, allocations: 99.97 kB / 0.867 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.4763, allocations: 11.91 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.4763, allocations: 4 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4764, allocations: 322.8 kB / 0.8673 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.4765, allocations: 43.98 kB / 0.8673 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.4766, allocations: 48 kB / 0.8674 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.4766, allocations: 19.92 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4766, allocations: 3.984 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002594/0.4769, allocations: 161.6 kB / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.477, allocations: 64.8 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.477, allocations: 4.062 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.477, allocations: 0 / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4772, allocations: 19.98 kB / 0.8676 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4772, allocations: 7.828 kB / 0.8676 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.4773, allocations: 31.88 kB / 0.8677 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4774, allocations: 4 kB / 0.8677 GB, free: 14.65 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 () * 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.0001122/0.4775, allocations: 146.6 kB / 0.8678 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.4775, allocations: 11.91 kB / 0.8678 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.4776, allocations: 8.625 kB / 0.8678 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4776, allocations: 4 kB / 0.8678 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4776, allocations: 0 / 0.8678 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4776, allocations: 0 / 0.8678 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.4777, allocations: 170.2 kB / 0.868 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4777, allocations: 3.953 kB / 0.868 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.87e-05/0.4778, allocations: 19.92 kB / 0.868 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4778, allocations: 0 / 0.868 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.4779, allocations: 4 kB / 0.868 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4779, allocations: 96 / 0.868 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4779, allocations: 7.938 kB / 0.868 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.4781, allocations: 165 kB / 0.8682 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.4782, allocations: 85.05 kB / 0.8683 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4782, allocations: 8 kB / 0.8683 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4784, allocations: 27.98 kB / 0.8683 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4785, allocations: 35.94 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4785, allocations: 4 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.4786, allocations: 100.6 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4786, allocations: 0 / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002183/0.4788, allocations: 27.84 kB / 0.8685 GB, free: 13.75 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) * 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.0001594/0.479, allocations: 111.2 kB / 0.8686 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4793, allocations: 214.8 kB / 0.8688 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4793, allocations: 4 kB / 0.8688 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.4795, allocations: 115.4 kB / 0.8689 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.4797, allocations: 4 kB / 0.8689 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.4801, allocations: 148.4 kB / 0.869 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.4803, allocations: 0.6924 MB / 0.8697 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.4804, allocations: 12.17 kB / 0.8697 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.4804, allocations: 15.44 kB / 0.8697 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.4804, allocations: 0 / 0.8697 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.003473/0.4839, allocations: 1.432 MB / 0.8711 GB, free: 10.93 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)