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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7784/0.7784, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 173.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009384/0.0009383, allocations: 90.41 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001701/0.001701, allocations: 262.6 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005345/0.0005346, allocations: 20 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.452, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5933, allocations: 108.2 MB / 0.8451 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5937, allocations: 67.97 kB / 0.8452 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005448/0.5992, allocations: 1.522 MB / 0.8466 GB, free: 468 kB / 0.5105 GB Notification: Performance of FrontEnd: time 3.536e-06/0.5992, allocations: 0 / 0.8466 GB, free: 468 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.5992, allocations: 4 kB / 0.8466 GB, free: 464 kB / 0.5105 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.0007851/0.6, allocations: 447.5 kB / 0.8471 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.6001, allocations: 12.03 kB / 0.8471 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.6002, allocations: 8.844 kB / 0.8471 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.6005, allocations: 188.3 kB / 0.8473 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.6005, allocations: 8.375 kB / 0.8473 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.6006, allocations: 8.375 kB / 0.8473 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.601, allocations: 118.4 kB / 0.8474 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.601, allocations: 8.125 kB / 0.8474 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.601, allocations: 3.938 kB / 0.8474 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.601, allocations: 4 kB / 0.8474 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.6015, allocations: 111.8 kB / 0.8475 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.6022, allocations: 336.7 kB / 0.8478 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.6025, allocations: 122.5 kB / 0.848 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.6027, allocations: 80.88 kB / 0.848 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.6028, allocations: 8 kB / 0.848 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.6031, allocations: 123.3 kB / 0.8482 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.627e-06/0.6031, allocations: 0 / 0.8482 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0007475/0.6038, allocations: 299.2 kB / 0.8484 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.6039, allocations: 85.11 kB / 0.8485 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.6041, allocations: 143.2 kB / 0.8487 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.6041, allocations: 29.7 kB / 0.8487 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.6042, allocations: 88.14 kB / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.6042, allocations: 19.8 kB / 0.8488 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.6042, allocations: 4 kB / 0.8488 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6044, allocations: 322.8 kB / 0.8491 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.6046, allocations: 75.95 kB / 0.8492 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.6047, allocations: 71.95 kB / 0.8492 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.6051, allocations: 197.9 kB / 0.8494 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6051, allocations: 0 / 0.8494 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004998/0.6057, allocations: 276.8 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.6057, allocations: 63.41 kB / 0.8498 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6057, allocations: 0 / 0.8498 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6058, allocations: 0 / 0.8498 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.6059, allocations: 24.06 kB / 0.8498 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6059, allocations: 3.938 kB / 0.8498 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.6061, allocations: 27.98 kB / 0.8498 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.6061, allocations: 8 kB / 0.8498 GB, free: 12.91 MB / 0.5261 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.0001289/0.6062, allocations: 159.3 kB / 0.85 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.6063, allocations: 11.91 kB / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.6063, allocations: 8.375 kB / 0.85 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6063, allocations: 0 / 0.85 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.6063, allocations: 8.234 kB / 0.85 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6063, allocations: 7.984 kB / 0.85 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.6065, allocations: 201.5 kB / 0.8502 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6065, allocations: 7.922 kB / 0.8502 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.6066, allocations: 19.98 kB / 0.8502 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6066, allocations: 0 / 0.8502 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.6067, allocations: 4 kB / 0.8502 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6067, allocations: 0 / 0.8502 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6067, allocations: 0 / 0.8502 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.6072, allocations: 258.7 kB / 0.8505 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.6072, allocations: 89.02 kB / 0.8506 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.6073, allocations: 4 kB / 0.8506 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.6074, allocations: 30.12 kB / 0.8506 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6076, allocations: 39.89 kB / 0.8506 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.6076, allocations: 4 kB / 0.8506 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.6077, allocations: 104.9 kB / 0.8507 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6077, allocations: 0 / 0.8507 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002147/0.6079, allocations: 24 kB / 0.8508 GB, free: 11.84 MB / 0.5261 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.000142/0.6081, allocations: 103.2 kB / 0.8509 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.6086, allocations: 278.7 kB / 0.8511 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6086, allocations: 0 / 0.8511 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.6089, allocations: 151.3 kB / 0.8513 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6091, allocations: 11.94 kB / 0.8513 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.6097, allocations: 245.1 kB / 0.8515 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.61, allocations: 0.6926 MB / 0.8522 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.539e-05/0.6101, allocations: 11.75 kB / 0.8522 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.6101, allocations: 15.42 kB / 0.8522 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6101, allocations: 0 / 0.8522 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.00426/0.6144, allocations: 1.545 MB / 0.8537 GB, free: 8.723 MB / 0.5261 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)