Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.002012/0.002012, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001806/0.001806, allocations: 217.5 kB / 23.03 MB, free: 4.945 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.382/3.382, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.002333/0.002333, allocations: 62.66 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4261, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002358/0.4285, allocations: 0.5797 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004624/0.429, allocations: 104.1 kB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.429, allocations: 0 / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.429, allocations: 0 / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.429, allocations: 0 / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.4294, allocations: 47.88 kB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4296, allocations: 59.94 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.4296, allocations: 11.86 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.4297, allocations: 23.98 kB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.4297, allocations: 27.91 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.4297, allocations: 8 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.4299, allocations: 51.95 kB / 1.346 GB, free: 15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.4299, allocations: 27.95 kB / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.43, allocations: 15.92 kB / 1.346 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.4301, allocations: 72.06 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4301, allocations: 0 / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4302, allocations: 0 / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4302, allocations: 0 / 1.346 GB, free: 14.88 MB / 1.045 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.0005389/0.4307, allocations: 302.2 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4307, allocations: 12.03 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.646e-05/0.4308, allocations: 192 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.4308, allocations: 46.75 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.4308, allocations: 4.938 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.724e-05/0.4309, allocations: 114.5 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.4314, allocations: 0.526 MB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.4314, allocations: 4.375 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.4317, allocations: 85.69 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4317, allocations: 0 / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.4317, allocations: 8 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4317, allocations: 0 / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.4321, allocations: 131.8 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.4323, allocations: 156.7 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.4326, allocations: 86.58 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.4328, allocations: 44.77 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.4328, allocations: 4 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4328, allocations: 38.5 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.4328, allocations: 0 / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0005464/0.4334, allocations: 137.6 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4334, allocations: 55.41 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/0.4335, allocations: 89.86 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4335, allocations: 29.92 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4335, allocations: 84.14 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.4336, allocations: 39.62 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.4337, allocations: 29.7 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4338, allocations: 318.8 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4339, allocations: 31.92 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.4341, allocations: 31.97 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.4343, allocations: 77.47 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4343, allocations: 3.938 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003399/0.4347, allocations: 121.4 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4347, allocations: 12 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4347, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4347, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.4349, allocations: 27.91 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4349, allocations: 4 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.4349, allocations: 7.938 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.435, allocations: 3.984 kB / 1.349 GB, free: 11.94 MB / 1.045 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 9.764e-05/0.4351, allocations: 113.8 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.4351, allocations: 11.89 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.4351, allocations: 11.91 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4351, allocations: 4 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4351, allocations: 7.984 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4351, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.4353, allocations: 136.8 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4353, allocations: 0 / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4354, allocations: 35.84 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4354, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4354, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4354, allocations: 8 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4354, allocations: 0 / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.4358, allocations: 149 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.4358, allocations: 11.88 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4358, allocations: 4 kB / 1.349 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.4359, allocations: 4 kB / 1.349 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.436, allocations: 11.97 kB / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.436, allocations: 8 kB / 1.349 GB, free: 11.35 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5e-05/0.436, allocations: 75.28 kB / 1.349 GB, free: 11.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.436, allocations: 0 / 1.349 GB, free: 11.27 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002258/0.4362, allocations: 19.98 kB / 1.349 GB, free: 11.25 MB / 1.045 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.0008063/0.4371, allocations: 0.7059 MB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4374, allocations: 83.88 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4374, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4376, allocations: 47.95 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.4377, allocations: 8.953 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.4383, allocations: 202.4 kB / 1.35 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.822e-05/0.4384, allocations: 67.34 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.4386, allocations: 47.67 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.4387, allocations: 19.42 kB / 1.351 GB, free: 9.996 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4387, allocations: 4 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.4642, allocations: 2.208 MB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 7.266 kB / 1.353 GB, free: 7.93 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.977604010957293] Failed to read output from testmodel.py, exit status != 0: 11.905388294020668 11.920476106 11.487196521 Calling exit ...