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.00075/0.00075, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007444/0.0007444, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8799/0.8799, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.001361/0.001361, allocations: 234.8 kB / 260.2 MB, free: 13 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.6748/0.6748, allocations: 138.4 MB / 455 MB, free: 30.07 MB / 410.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.473e-06/1.473e-06, allocations: 0 / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.786e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.2269/0.227, allocations: 1.549 MB / 0.649 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.2273, allocations: 175.9 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.2274, allocations: 0.7188 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.2274, allocations: 4.734 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.2274, allocations: 5.5 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.2277, allocations: 56.41 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.2278, allocations: 37.62 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.2279, allocations: 15.28 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.2279, allocations: 16.7 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.589e-05/0.228, allocations: 16.77 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.228, allocations: 3.031 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2281, allocations: 51.03 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2281, allocations: 11.56 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.2281, allocations: 8.891 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2283, allocations: 76.64 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2283, allocations: 2 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2283, allocations: 0.7031 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.2283, allocations: 0.6562 kB / 0.6495 GB, free: 56.4 MB / 0.5573 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.0003167/0.2286, allocations: 278.9 kB / 0.6498 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2286, allocations: 11.66 kB / 0.6498 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2286, allocations: 5.047 kB / 0.6498 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.74e-05/0.2287, allocations: 117.5 kB / 0.6499 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2287, allocations: 4.453 kB / 0.6499 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.2287, allocations: 7.938 kB / 0.6499 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2289, allocations: 63.62 kB / 0.65 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2289, allocations: 1.062 kB / 0.65 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2289, allocations: 1 kB / 0.65 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2289, allocations: 2.781 kB / 0.65 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.229, allocations: 47.09 kB / 0.65 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.2292, allocations: 219.5 kB / 0.6502 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2294, allocations: 57.42 kB / 0.6503 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.2295, allocations: 25.08 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.2296, allocations: 17.47 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.2296, allocations: 38.22 kB / 0.6504 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.2296, allocations: 0.8125 kB / 0.6504 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002209/0.2298, allocations: 104.4 kB / 0.6505 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.682e-05/0.2298, allocations: 52.28 kB / 0.6505 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.2299, allocations: 104.6 kB / 0.6506 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.2299, allocations: 26.58 kB / 0.6506 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.2299, allocations: 87.31 kB / 0.6507 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.2299, allocations: 8.234 kB / 0.6507 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.2299, allocations: 17.25 kB / 0.6507 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.23, allocations: 320.1 kB / 0.6511 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.23, allocations: 16.73 kB / 0.6511 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.23, allocations: 21.58 kB / 0.6511 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.526e-05/0.2301, allocations: 49.81 kB / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2301, allocations: 1 kB / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001055/0.2302, allocations: 81.62 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2302, allocations: 10.88 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2302, allocations: 0 / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.2303, allocations: 1.594 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.98e-05/0.2303, allocations: 11.64 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2303, allocations: 4.547 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.2303, allocations: 7.234 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.2303, allocations: 4.938 kB / 0.6513 GB, free: 54.99 MB / 0.5573 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 3.616e-05/0.2304, allocations: 111.1 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2304, allocations: 7.438 kB / 0.6514 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.2305, allocations: 89 kB / 0.6514 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2305, allocations: 1.766 kB / 0.6515 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2305, allocations: 1.156 kB / 0.6515 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2305, allocations: 0.5625 kB / 0.6515 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.721e-05/0.2306, allocations: 107.4 kB / 0.6516 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2306, allocations: 1.281 kB / 0.6516 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.2306, allocations: 11.67 kB / 0.6516 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2306, allocations: 6.188 kB / 0.6516 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2306, allocations: 4.844 kB / 0.6516 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2306, allocations: 0.6562 kB / 0.6516 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2306, allocations: 0.9375 kB / 0.6516 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.2308, allocations: 175.6 kB / 0.6517 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.2308, allocations: 3.734 kB / 0.6518 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.2308, allocations: 8.688 kB / 0.6518 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.2308, allocations: 6.75 kB / 0.6518 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.2308, allocations: 9.469 kB / 0.6518 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2309, allocations: 1 kB / 0.6518 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.75e-05/0.2309, allocations: 87.3 kB / 0.6519 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2309, allocations: 0 / 0.6519 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001528/0.231, allocations: 21.45 kB / 0.6519 GB, free: 54.48 MB / 0.5573 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.0001226/0.2311, allocations: 114.6 kB / 0.652 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.2313, allocations: 41.45 kB / 0.652 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2313, allocations: 5.406 kB / 0.652 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.2313, allocations: 27.95 kB / 0.6521 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.2315, allocations: 10.19 kB / 0.6521 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.2317, allocations: 147.2 kB / 0.6522 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.2318, allocations: 65.12 kB / 0.6523 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.2318, allocations: 11.27 kB / 0.6523 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/0.2318, allocations: 3.531 kB / 0.6523 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.001714/0.2335, allocations: 0.973 MB / 0.6532 GB, free: 54.14 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.251117083244026] Failed to read output from testmodel.py, exit status != 0: 0.2384999617934227 0.24518086300000003 0.015391987000000001 Calling exit ...