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.001409/0.001409, allocations: 114.7 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001477/0.001477, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.002415/0.002415, allocations: 284.1 kB / 309.8 MB, free: 3.461 MB / 238.1 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 1.062/1.062, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 105.3 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6297/0.6325, allocations: 95.35 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002766/0.6353, allocations: 1.563 MB / 0.8293 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000456/0.6357, allocations: 182.5 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.6358, allocations: 0 / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.6358, allocations: 8.438 kB / 0.8295 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.6358, allocations: 11.22 kB / 0.8295 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.6362, allocations: 50.8 kB / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.6362, allocations: 31.88 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.6363, allocations: 13.23 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.6364, allocations: 17.73 kB / 0.8296 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.6364, allocations: 19.42 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.6364, allocations: 8.938 kB / 0.8296 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.6366, allocations: 49.52 kB / 0.8297 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.6366, allocations: 8.078 kB / 0.8297 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.6366, allocations: 12.38 kB / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.6368, allocations: 64.11 kB / 0.8298 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6368, allocations: 3.938 kB / 0.8298 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6368, allocations: 0 / 0.8298 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6368, allocations: 0.6094 kB / 0.8298 GB, free: 1.711 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.0004123/0.6372, allocations: 361.7 kB / 0.8301 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.6372, allocations: 15.52 kB / 0.8301 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.6372, allocations: 192 / 0.8301 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.001e-05/0.6372, allocations: 31.64 kB / 0.8302 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.6373, allocations: 7.688 kB / 0.8302 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.6374, allocations: 170.8 kB / 0.8303 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.6374, allocations: 3.312 kB / 0.8303 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.6374, allocations: 3.312 kB / 0.8303 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.6376, allocations: 68.25 kB / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.6376, allocations: 2.938 kB / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6376, allocations: 11.92 kB / 0.8304 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.6376, allocations: 0.7031 kB / 0.8304 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.6378, allocations: 47.91 kB / 0.8305 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.6382, allocations: 273 kB / 0.8307 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.6385, allocations: 63.75 kB / 0.8308 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.6386, allocations: 26.11 kB / 0.8308 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.6388, allocations: 165.9 kB / 0.831 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.6388, allocations: 31.17 kB / 0.831 GB, free: 468 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.6388, allocations: 0 / 0.831 GB, free: 468 kB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004092/0.6393, allocations: 101 kB / 0.8311 GB, free: 416 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.6393, allocations: 53.06 kB / 0.8311 GB, free: 352 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.6394, allocations: 106.5 kB / 0.8313 GB, free: 248 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.6394, allocations: 28.33 kB / 0.8313 GB, free: 216 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.6394, allocations: 85.27 kB / 0.8314 GB, free: 128 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.6394, allocations: 10.2 kB / 0.8314 GB, free: 120 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.6395, allocations: 22.34 kB / 0.8314 GB, free: 96 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6396, allocations: 322.8 kB / 0.8317 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6397, allocations: 19.66 kB / 0.8317 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.6398, allocations: 19.44 kB / 0.8317 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.64, allocations: 46.08 kB / 0.8318 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.64, allocations: 0.7969 kB / 0.8318 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002532/0.6403, allocations: 77.58 kB / 0.8319 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6403, allocations: 5.953 kB / 0.8319 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6403, allocations: 0 / 0.8319 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6403, allocations: 2.625 kB / 0.8319 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.6404, allocations: 19.39 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6404, allocations: 0.5625 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.6405, allocations: 5.469 kB / 0.8319 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6405, allocations: 0.5156 kB / 0.8319 GB, free: 15.7 MB / 0.5919 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 0.0001106/0.6406, allocations: 117.1 kB / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.6406, allocations: 5.531 kB / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.6409, allocations: 82.12 kB / 0.8321 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6409, allocations: 0 / 0.8321 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6409, allocations: 0 / 0.8321 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6409, allocations: 7.734 kB / 0.8321 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.6411, allocations: 171.6 kB / 0.8323 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6411, allocations: 6.625 kB / 0.8323 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.6412, allocations: 16.33 kB / 0.8323 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6412, allocations: 3.422 kB / 0.8323 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.6412, allocations: 3.938 kB / 0.8323 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6412, allocations: 0 / 0.8323 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6412, allocations: 4.734 kB / 0.8323 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.6415, allocations: 169.5 kB / 0.8324 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.6416, allocations: 80.48 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.6416, allocations: 4.75 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.6417, allocations: 4.781 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.6417, allocations: 11.78 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.6417, allocations: 0.7031 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.6418, allocations: 90.2 kB / 0.8326 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6418, allocations: 0 / 0.8326 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002732/0.6421, allocations: 19.7 kB / 0.8327 GB, free: 14.97 MB / 0.5919 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.0007784/0.6428, allocations: 0.7261 MB / 0.8334 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.6431, allocations: 46.36 kB / 0.8334 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6431, allocations: 0 / 0.8334 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.6432, allocations: 34.08 kB / 0.8334 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.6435, allocations: 3.328 kB / 0.8334 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.6452, allocations: 1.294 MB / 0.8347 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.6455, allocations: 0.6786 MB / 0.8354 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.6456, allocations: 10.09 kB / 0.8354 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.6456, allocations: 13.83 kB / 0.8354 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6456, allocations: 2.625 kB / 0.8354 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.6654, allocations: 1.989 MB / 0.8373 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.677, allocations: 15.28 kB / 0.8373 GB, free: 11.91 MB / 0.5919 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.815207122010179] Failed to read output from testmodel.py, exit status != 0: 8.80459803994745 8.829949093 8.188641869 Calling exit ...