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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002268, allocations: 281.2 kB / 303.6 MB, free: 3.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 180.9 MB / 0.5268 GB, free: 2.703 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002671/0.002671, allocations: 95.84 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5306, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002389/0.533, allocations: 1.542 MB / 0.8194 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000423/0.5334, allocations: 179.9 kB / 0.8195 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.5335, allocations: 0.8438 kB / 0.8195 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.5335, allocations: 7.125 kB / 0.8196 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.5335, allocations: 5.594 kB / 0.8196 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.5338, allocations: 52.62 kB / 0.8196 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.5339, allocations: 40.52 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.534, allocations: 11.86 kB / 0.8197 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.534, allocations: 16.89 kB / 0.8197 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.5341, allocations: 24.72 kB / 0.8197 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.5341, allocations: 2.75 kB / 0.8197 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.5342, allocations: 46.44 kB / 0.8197 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5342, allocations: 9.578 kB / 0.8198 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.5342, allocations: 14.67 kB / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.5344, allocations: 62.23 kB / 0.8198 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5344, allocations: 8.094 kB / 0.8198 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5344, allocations: 3.938 kB / 0.8198 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5344, allocations: 0.9062 kB / 0.8198 GB, free: 6.121 MB / 0.5762 GB 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.0004002/0.5348, allocations: 352.7 kB / 0.8202 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5348, allocations: 9.281 kB / 0.8202 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.5349, allocations: 7.828 kB / 0.8202 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/0.535, allocations: 165.5 kB / 0.8203 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.535, allocations: 2.656 kB / 0.8204 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.535, allocations: 6.75 kB / 0.8204 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5352, allocations: 60.97 kB / 0.8204 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5352, allocations: 192 / 0.8204 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5352, allocations: 9.281 kB / 0.8204 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5352, allocations: 5.234 kB / 0.8204 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.5354, allocations: 40.16 kB / 0.8205 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.5357, allocations: 292.5 kB / 0.8207 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.536, allocations: 52 kB / 0.8208 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.5361, allocations: 26.48 kB / 0.8208 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.5363, allocations: 168.1 kB / 0.821 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.5363, allocations: 35.5 kB / 0.821 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.5363, allocations: 8.906 kB / 0.821 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003727/0.5366, allocations: 88.91 kB / 0.8211 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.5367, allocations: 51.41 kB / 0.8212 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.5367, allocations: 123.3 kB / 0.8213 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.5367, allocations: 29.64 kB / 0.8213 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.5368, allocations: 85.27 kB / 0.8214 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.5368, allocations: 12.73 kB / 0.8214 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.5368, allocations: 16.78 kB / 0.8214 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.5369, allocations: 320.4 kB / 0.8217 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.537, allocations: 21.11 kB / 0.8217 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.537, allocations: 17.98 kB / 0.8218 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5372, allocations: 52.95 kB / 0.8218 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5372, allocations: 4 kB / 0.8218 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001851/0.5374, allocations: 78.06 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5374, allocations: 5.188 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5374, allocations: 0 / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5374, allocations: 1.438 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.5375, allocations: 9.797 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5375, allocations: 1.938 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.5375, allocations: 13.64 kB / 0.8219 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5375, allocations: 1.281 kB / 0.8219 GB, free: 4.148 MB / 0.5762 GB 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 5.488e-05/0.5376, allocations: 120 kB / 0.822 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.5376, allocations: 2.219 kB / 0.822 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.5378, allocations: 81.02 kB / 0.8221 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5378, allocations: 0 / 0.8221 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5378, allocations: 1.406 kB / 0.8221 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5379, allocations: 4.516 kB / 0.8221 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.538, allocations: 171.4 kB / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.538, allocations: 0 / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.5381, allocations: 10.77 kB / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.5381, allocations: 0 / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5381, allocations: 0.9375 kB / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5381, allocations: 1.094 kB / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5381, allocations: 0 / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.5383, allocations: 186.2 kB / 0.8225 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.5383, allocations: 83.66 kB / 0.8226 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.5383, allocations: 0.6094 kB / 0.8226 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.5384, allocations: 6.156 kB / 0.8226 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.5385, allocations: 4.828 kB / 0.8226 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.5385, allocations: 1.625 kB / 0.8226 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.5385, allocations: 87.91 kB / 0.8226 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5385, allocations: 0 / 0.8226 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002451/0.5387, allocations: 22.67 kB / 0.8227 GB, free: 3.43 MB / 0.5762 GB 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.00017/0.5389, allocations: 119.4 kB / 0.8228 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.5391, allocations: 48.59 kB / 0.8228 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5391, allocations: 0 / 0.8228 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.5392, allocations: 25.31 kB / 0.8229 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.5395, allocations: 16.16 kB / 0.8229 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.5398, allocations: 145.3 kB / 0.823 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.5399, allocations: 0.6793 MB / 0.8237 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.54, allocations: 16.39 kB / 0.8237 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.54, allocations: 0 / 0.8237 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of Templates: time 0.002915/0.5429, allocations: 0.9852 MB / 0.8246 GB, free: 2.371 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.990556396005559] Failed to read output from testmodel.py, exit status != 0: 0.5503043799981242 0.561839219 0.024425468000000002 Calling exit ...