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.001025/0.001025, allocations: 93.06 kB / 19.65 MB, free: 280 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.001202/0.001202, allocations: 165 kB / 23.02 MB, free: 1.555 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.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.002555/0.002555, allocations: 237.8 kB / 260.2 MB, free: 12.81 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 0.7238/0.7238, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.593e-06/1.593e-06, allocations: 0 / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.096e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001908/0.001929, allocations: 1.601 MB / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004036/0.002333, allocations: 188.2 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.002373, allocations: 0 / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.002403, allocations: 0 / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.00245, allocations: 7.875 kB / 0.5569 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.00277, allocations: 51.81 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.002835, allocations: 43.91 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.002929, allocations: 11.98 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.002964, allocations: 19.92 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.002999, allocations: 11.98 kB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003013, allocations: 4 kB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.003125, allocations: 55.92 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.003137, allocations: 3.984 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.003159, allocations: 11.94 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003309, allocations: 71.78 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003311, allocations: 0 / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003312, allocations: 4 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.003316, allocations: 0 / 0.5571 GB, free: 14.43 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.000385/0.003701, allocations: 376.5 kB / 0.5575 GB, free: 14.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003737, allocations: 12.75 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.003775, allocations: 8.891 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.929e-05/0.003864, allocations: 116.5 kB / 0.5576 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.003884, allocations: 4.375 kB / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.003897, allocations: 384 / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.004031, allocations: 66.94 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.004042, allocations: 192 / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.004052, allocations: 12.3 kB / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.004059, allocations: 384 / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.0041, allocations: 19.92 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.004399, allocations: 267.7 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.004564, allocations: 50.98 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.004588, allocations: 15.75 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.00471, allocations: 11.98 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.004733, allocations: 37.33 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004734, allocations: 0 / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001577/0.004892, allocations: 53.69 kB / 0.5582 GB, free: 13.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.004915, allocations: 51.41 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.004983, allocations: 165.9 kB / 0.5584 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004994, allocations: 29.7 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.005041, allocations: 138.7 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.005057, allocations: 11.94 kB / 0.5585 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.005084, allocations: 23.38 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.00519, allocations: 492.1 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.005209, allocations: 7.984 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.005222, allocations: 4 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.005254, allocations: 19.94 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005256, allocations: 0 / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.859e-05/0.005315, allocations: 57.62 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005326, allocations: 4 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005329, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.005343, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.085e-05/0.005384, allocations: 15.92 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005388, allocations: 0 / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.005405, allocations: 0 / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.00541, allocations: 4 kB / 0.5591 GB, free: 12.19 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 6.135e-05/0.005472, allocations: 164.6 kB / 0.5593 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.005489, allocations: 11.89 kB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.016e-05/0.005579, allocations: 49.38 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005581, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.005585, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005587, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.005683, allocations: 121.1 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005684, allocations: 0 / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.005715, allocations: 11.92 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005717, allocations: 0 / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.005723, allocations: 7.938 kB / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005724, allocations: 4 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005725, allocations: 0 / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.437e-05/0.005819, allocations: 195.9 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.005827, allocations: 15.88 kB / 0.5597 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.005836, allocations: 3.938 kB / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.005866, allocations: 0 / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.005906, allocations: 11.98 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.005908, allocations: 0 / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.005942, allocations: 123.2 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005943, allocations: 7.938 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000158/0.006101, allocations: 16 kB / 0.5598 GB, free: 11.39 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.0001214/0.006222, allocations: 123.2 kB / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.761e-05/0.0063, allocations: 23.61 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.006301, allocations: 0 / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.006323, allocations: 19.67 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.006483, allocations: 8 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.006725, allocations: 129.3 kB / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.006758, allocations: 59.34 kB / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.006775, allocations: 0 / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.006798, allocations: 12.5 kB / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006799, allocations: 3.938 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of Templates: time 0.002447/0.009246, allocations: 1.026 MB / 0.5612 GB, free: 9.938 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: 3.8934279968962073]