Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 88.05 kB / 19.44 MB, free: 316 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 173.3 kB / 22.77 MB, free: 1.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003198/0.003198, allocations: 222.8 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.227/1.227, allocations: 138.4 MB / 454.7 MB, free: 1.469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.819e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.00345/0.003478, allocations: 1.566 MB / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005239/0.004002, allocations: 176.2 kB / 0.556 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.00404, allocations: 0 / 0.556 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.004066, allocations: 3.938 kB / 0.556 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.00412, allocations: 7.922 kB / 0.556 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.004482, allocations: 55.8 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.004564, allocations: 43.86 kB / 0.5561 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.004651, allocations: 8 kB / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.0047, allocations: 19.98 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.004745, allocations: 11.97 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004765, allocations: 4 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.004909, allocations: 55.92 kB / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.004926, allocations: 7.938 kB / 0.5562 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.004952, allocations: 8 kB / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.005144, allocations: 83.73 kB / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.005146, allocations: 0 / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.005149, allocations: 8 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005154, allocations: 0 / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005356/0.005689, allocations: 376.1 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.005731, allocations: 12.75 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.00578, allocations: 8.891 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.0059, allocations: 108.6 kB / 0.5568 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.005921, allocations: 4.375 kB / 0.5568 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.005934, allocations: 4.359 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.006102, allocations: 54.25 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.00611, allocations: 192 / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006123, allocations: 8.359 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.006127, allocations: 384 / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.006278, allocations: 39.86 kB / 0.5569 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.006723, allocations: 279.7 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.007025, allocations: 54.98 kB / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.007111, allocations: 31.73 kB / 0.5573 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.007291, allocations: 15.98 kB / 0.5573 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.00733, allocations: 41.27 kB / 0.5573 GB, free: 13.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.007331, allocations: 4 kB / 0.5573 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003304/0.007661, allocations: 77.66 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.007708, allocations: 51.41 kB / 0.5575 GB, free: 13.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.007857, allocations: 177.9 kB / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.007876, allocations: 25.7 kB / 0.5576 GB, free: 13.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.007969, allocations: 130.9 kB / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.007991, allocations: 12.02 kB / 0.5578 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.008046, allocations: 31.36 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/0.008322, allocations: 492.1 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.008393, allocations: 19.98 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.008447, allocations: 11.94 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.008573, allocations: 43.94 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.008574, allocations: 0 / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001734/0.008748, allocations: 69.61 kB / 0.5584 GB, free: 12.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008761, allocations: 4 kB / 0.5584 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.008767, allocations: 3.984 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.008781, allocations: 0 / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.008847, allocations: 8 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.008852, allocations: 4 kB / 0.5584 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.008897, allocations: 7.953 kB / 0.5584 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.008905, allocations: 3.984 kB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.009025, allocations: 160.5 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.009052, allocations: 7.938 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.009272, allocations: 65.36 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.009273, allocations: 4 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.009277, allocations: 0 / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.009284, allocations: 7.922 kB / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.009445, allocations: 124.6 kB / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.009448, allocations: 3.984 kB / 0.5588 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.009508, allocations: 8 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.00951, allocations: 0 / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.00952, allocations: 3.938 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.009521, allocations: 0 / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009522, allocations: 0 / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.009786, allocations: 211.9 kB / 0.559 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.009801, allocations: 11.94 kB / 0.559 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.009817, allocations: 3.938 kB / 0.559 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.009883, allocations: 8 kB / 0.559 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.009936, allocations: 7.984 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.009943, allocations: 4 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.379e-05/0.01003, allocations: 127.4 kB / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01003, allocations: 0 / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01027, allocations: 19.94 kB / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.01047, allocations: 111.2 kB / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.01066, allocations: 47.59 kB / 0.5593 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01066, allocations: 4 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.01074, allocations: 31.67 kB / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01098, allocations: 10.91 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.01132, allocations: 133.3 kB / 0.5595 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.441e-05/0.0114, allocations: 63.34 kB / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.01143, allocations: 4 kB / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.01146, allocations: 16.5 kB / 0.5596 GB, free: 11.08 MB / 490.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01146, allocations: 0 / 0.5596 GB, free: 11.08 MB / 490.7 MB Notification: Performance of Templates: time 0.004167/0.01563, allocations: 1.019 MB / 0.5606 GB, free: 10.07 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.912741146050394]