Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001956/0.001956, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002541/0.002541, allocations: 214.2 kB / 23.04 MB, free: 5.07 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002043/0.002043, allocations: 60.22 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4427, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003542/0.4463, allocations: 1.576 MB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.4468, allocations: 179.5 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.4468, allocations: 0 / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.4469, allocations: 3.938 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.937e-05/0.4469, allocations: 7.938 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.4473, allocations: 43.89 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.4473, allocations: 51.83 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.4474, allocations: 8.281 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.4475, allocations: 15.98 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.4475, allocations: 23.86 kB / 1.329 GB, free: 68 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4475, allocations: 4 kB / 1.329 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.4477, allocations: 51.94 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.4477, allocations: 4 kB / 1.329 GB, free: 8 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.4477, allocations: 19.97 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.4479, allocations: 67.67 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4479, allocations: 0 / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4479, allocations: 0 / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4479, allocations: 7.938 kB / 1.329 GB, free: 15.91 MB / 1.029 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.0005028/0.4484, allocations: 286.2 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4484, allocations: 8.031 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.4484, allocations: 4.188 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.4485, allocations: 30.75 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.4485, allocations: 4.891 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.4486, allocations: 118.5 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.4486, allocations: 12.31 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.4487, allocations: 384 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.4489, allocations: 61.98 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4489, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4489, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4489, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.4491, allocations: 47.89 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.4495, allocations: 251.9 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.4498, allocations: 54.55 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4499, allocations: 32.83 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.4501, allocations: 11.98 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4501, allocations: 38.5 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.4501, allocations: 0 / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004139/0.4505, allocations: 97.62 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4506, allocations: 51.41 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.4507, allocations: 113.9 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4507, allocations: 25.7 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.4507, allocations: 92.14 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.4508, allocations: 3.953 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.4508, allocations: 21.7 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4509, allocations: 314.8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.451, allocations: 23.92 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.4511, allocations: 23.97 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.4513, allocations: 44.83 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4513, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002192/0.4515, allocations: 73.92 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4515, allocations: 4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4515, allocations: 48 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4516, allocations: 7.984 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.4516, allocations: 11.98 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4517, allocations: 7.938 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.4517, allocations: 11.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.4517, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 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 9.857e-05/0.4518, allocations: 110.3 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4518, allocations: 7.953 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.4521, allocations: 89.64 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.4521, allocations: 0 / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4521, allocations: 4 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4521, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.4523, allocations: 144.6 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4523, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.4524, allocations: 11.98 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4524, allocations: 3.938 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4524, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4524, allocations: 3.938 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4524, allocations: 3.938 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.4527, allocations: 175.4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.4527, allocations: 7.953 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.4527, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.4528, allocations: 7.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4529, allocations: 11.98 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4529, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.4529, allocations: 87.28 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4529, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002542/0.4532, allocations: 12 kB / 1.331 GB, free: 13.1 MB / 1.029 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.0007226/0.4539, allocations: 0.724 MB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.4542, allocations: 47.95 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4542, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4543, allocations: 27.97 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.4546, allocations: 3.938 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4563, allocations: 1.304 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4566, allocations: 0.6807 MB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.4566, allocations: 48 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.4567, allocations: 19.42 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4567, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4816, allocations: 2.087 MB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.77, allocations: 8.156 kB / 1.336 GB, free: 8.223 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.74625622999156] Failed to read output from testmodel.py, exit status != 0: 11.928257961990312 11.9457627 11.494469127 Calling exit ...