Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001515/0.001515, allocations: 117.8 kB / 17.13 MB, free: 5.781 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.001525/0.001525, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.361/1.361, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.002265/0.002265, allocations: 284.5 kB / 303.6 MB, free: 3.758 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.002/1.002, allocations: 180.9 MB / 0.5268 GB, free: 2.637 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 103.8 kB / 0.726 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5063, allocations: 94.16 MB / 0.8179 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001532/0.5078, allocations: 0.5797 MB / 0.8185 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.5082, allocations: 116.3 kB / 0.8186 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.5082, allocations: 1 kB / 0.8186 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.5082, allocations: 3.328 kB / 0.8186 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.5082, allocations: 0 / 0.8186 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.5085, allocations: 33.05 kB / 0.8186 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.5087, allocations: 71.97 kB / 0.8187 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.5087, allocations: 1.922 kB / 0.8187 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.5087, allocations: 23.12 kB / 0.8187 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.5088, allocations: 29.56 kB / 0.8187 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.5088, allocations: 2.75 kB / 0.8187 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.5089, allocations: 48.14 kB / 0.8188 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.5089, allocations: 18.39 kB / 0.8188 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.509, allocations: 25.12 kB / 0.8188 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.5091, allocations: 70.77 kB / 0.8189 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5091, allocations: 0 / 0.8189 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5091, allocations: 1 kB / 0.8189 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5091, allocations: 0 / 0.8189 GB, free: 6.812 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004203/0.5095, allocations: 380.2 kB / 0.8193 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5096, allocations: 13.22 kB / 0.8193 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.5096, allocations: 7.812 kB / 0.8193 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.184e-05/0.5097, allocations: 167.8 kB / 0.8194 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.5098, allocations: 279.4 kB / 0.8197 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.5099, allocations: 4.156 kB / 0.8197 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.5101, allocations: 75.14 kB / 0.8198 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.5101, allocations: 4.531 kB / 0.8198 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5101, allocations: 5.031 kB / 0.8198 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5101, allocations: 1.562 kB / 0.8198 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.5105, allocations: 137 kB / 0.8199 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.5106, allocations: 185.2 kB / 0.8201 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.5109, allocations: 89.48 kB / 0.8202 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.511, allocations: 39.53 kB / 0.8202 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.511, allocations: 13.02 kB / 0.8202 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.5111, allocations: 31.62 kB / 0.8203 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.5111, allocations: 1.5 kB / 0.8203 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005134/0.5116, allocations: 152.5 kB / 0.8204 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.5116, allocations: 56.88 kB / 0.8205 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.735e-05/0.5116, allocations: 93.86 kB / 0.8206 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.5116, allocations: 30.39 kB / 0.8206 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.017e-05/0.5116, allocations: 80.89 kB / 0.8207 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.5117, allocations: 35.97 kB / 0.8207 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.5117, allocations: 29.28 kB / 0.8207 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.5118, allocations: 320.1 kB / 0.821 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5119, allocations: 37.33 kB / 0.8211 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.512, allocations: 30.55 kB / 0.8211 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.5123, allocations: 73.89 kB / 0.8212 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5123, allocations: 1.125 kB / 0.8212 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003049/0.5126, allocations: 119.7 kB / 0.8213 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5126, allocations: 9.906 kB / 0.8213 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5126, allocations: 0 / 0.8213 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5126, allocations: 1.188 kB / 0.8213 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.5128, allocations: 24.45 kB / 0.8213 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5128, allocations: 0 / 0.8213 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.5129, allocations: 8.25 kB / 0.8213 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5129, allocations: 10.19 kB / 0.8213 GB, free: 4.711 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.66e-05/0.5129, allocations: 117.8 kB / 0.8215 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.5129, allocations: 10.39 kB / 0.8215 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.513, allocations: 11.97 kB / 0.8215 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.513, allocations: 1.281 kB / 0.8215 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.513, allocations: 4.766 kB / 0.8215 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.513, allocations: 0 / 0.8215 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.256e-05/0.5131, allocations: 185.3 kB / 0.8217 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.5131, allocations: 0 / 0.8217 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5132, allocations: 21.8 kB / 0.8217 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5132, allocations: 3.938 kB / 0.8217 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.5132, allocations: 4.562 kB / 0.8217 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5132, allocations: 1.5 kB / 0.8217 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5132, allocations: 0 / 0.8217 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.5135, allocations: 144.2 kB / 0.8218 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.5135, allocations: 91.2 kB / 0.8219 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5136, allocations: 7.219 kB / 0.8219 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.5136, allocations: 7.031 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.5137, allocations: 12.19 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.5137, allocations: 3.625 kB / 0.8219 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.049e-05/0.5137, allocations: 75.28 kB / 0.822 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5137, allocations: 0 / 0.822 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002123/0.5139, allocations: 20.34 kB / 0.822 GB, free: 4.078 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001622/0.5141, allocations: 129 kB / 0.8222 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.5144, allocations: 90.94 kB / 0.8222 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5144, allocations: 0 / 0.8222 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5146, allocations: 44.83 kB / 0.8223 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.5147, allocations: 4.094 kB / 0.8223 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.5151, allocations: 191.2 kB / 0.8225 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.5152, allocations: 0.6867 MB / 0.8231 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.5152, allocations: 26.83 kB / 0.8232 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5152, allocations: 1.219 kB / 0.8232 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.002911/0.5181, allocations: 1.321 MB / 0.8245 GB, free: 2.969 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.049933044007048] Failed to read output from testmodel.py, exit status != 0: 0.5254333300981671 0.538112261 0.025601033000000002 Calling exit ...