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.0009021/0.0009021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009014/0.0009014, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8855/0.8855, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.001455/0.001455, allocations: 228.8 kB / 259.4 MB, free: 13.03 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.6582/0.6582, allocations: 138.4 MB / 454.3 MB, free: 30.05 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.084e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001967/0.001988, allocations: 1.564 MB / 0.6478 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003537/0.002342, allocations: 176.3 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.002375, allocations: 4 kB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.002402, allocations: 3.938 kB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.002442, allocations: 0 / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.00276, allocations: 51.81 kB / 0.6481 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.002828, allocations: 39.86 kB / 0.6481 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.002927, allocations: 15.97 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2354/0.2384, allocations: 12.03 kB / 0.6481 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.2384, allocations: 13.64 kB / 0.6481 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2384, allocations: 6.344 kB / 0.6481 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2386, allocations: 52.33 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2386, allocations: 11.2 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.2386, allocations: 11.38 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2388, allocations: 77.11 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2388, allocations: 1.438 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2388, allocations: 0 / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2388, allocations: 0.5625 kB / 0.6483 GB, free: 55.93 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.0003697/0.2392, allocations: 281.4 kB / 0.6486 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2392, allocations: 11.25 kB / 0.6486 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.435e-05/0.2393, allocations: 35.41 kB / 0.6486 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.2393, allocations: 5.922 kB / 0.6486 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.889e-05/0.2393, allocations: 111 kB / 0.6487 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2394, allocations: 4.094 kB / 0.6487 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2394, allocations: 4.562 kB / 0.6487 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2395, allocations: 65.58 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2395, allocations: 1.312 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2395, allocations: 1.125 kB / 0.6488 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2395, allocations: 6.078 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2397, allocations: 45.59 kB / 0.6488 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.24, allocations: 245.5 kB / 0.6491 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2402, allocations: 60.77 kB / 0.6491 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.2402, allocations: 27 kB / 0.6491 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.2404, allocations: 15.84 kB / 0.6492 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.2404, allocations: 36.56 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.2404, allocations: 4.797 kB / 0.6492 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000259/0.2407, allocations: 100 kB / 0.6493 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.2407, allocations: 52.84 kB / 0.6493 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.2407, allocations: 108.4 kB / 0.6495 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.2407, allocations: 28.58 kB / 0.6495 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.2408, allocations: 86.66 kB / 0.6496 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.2408, allocations: 5.766 kB / 0.6496 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.2408, allocations: 16.27 kB / 0.6496 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.2408, allocations: 316.2 kB / 0.6499 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.2409, allocations: 21.23 kB / 0.6499 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.241, allocations: 19.02 kB / 0.6499 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2411, allocations: 46.52 kB / 0.65 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2411, allocations: 0.7812 kB / 0.65 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001262/0.2412, allocations: 87.42 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2412, allocations: 8.656 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.2412, allocations: 0.8906 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2412, allocations: 0.8125 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.2413, allocations: 10.44 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2413, allocations: 2.062 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.2413, allocations: 5.828 kB / 0.6501 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2413, allocations: 2.5 kB / 0.6501 GB, free: 54.47 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 4.694e-05/0.2414, allocations: 115.3 kB / 0.6502 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.2414, allocations: 6.156 kB / 0.6502 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.2415, allocations: 86.52 kB / 0.6503 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2416, allocations: 1.719 kB / 0.6503 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2416, allocations: 0.5 kB / 0.6503 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2416, allocations: 4.125 kB / 0.6503 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.2417, allocations: 140.5 kB / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2417, allocations: 2.031 kB / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.2417, allocations: 15.19 kB / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2417, allocations: 0 / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2417, allocations: 2.281 kB / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2417, allocations: 0.6875 kB / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2417, allocations: 0.9062 kB / 0.6504 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.2419, allocations: 176.8 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.2419, allocations: 2.875 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2419, allocations: 1.75 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.2419, allocations: 8.859 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.242, allocations: 10.77 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.242, allocations: 4.5 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.242, allocations: 90.45 kB / 0.6507 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.242, allocations: 0.75 kB / 0.6507 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001919/0.2422, allocations: 22.61 kB / 0.6507 GB, free: 53.94 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.0003299/0.2425, allocations: 0.7233 MB / 0.6515 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.2427, allocations: 46.86 kB / 0.6515 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2427, allocations: 0 / 0.6515 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.2427, allocations: 29.27 kB / 0.6515 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.243, allocations: 6.203 kB / 0.6515 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.2438, allocations: 1.298 MB / 0.6528 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.2439, allocations: 68.27 kB / 0.6529 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.2439, allocations: 6.719 kB / 0.6529 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.244, allocations: 20.42 kB / 0.6529 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.244, allocations: 3.469 kB / 0.6529 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.2591, allocations: 2.633 MB / 0.6555 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.665, allocations: 8.297 kB / 0.6555 GB, free: 51.21 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.1869749231264] Failed to read output from testmodel.py, exit status != 0: 6.741737673059106 6.750699184 6.510002421 Calling exit ...