Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 188.8 kB / 487.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 103.8 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.559e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2884, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.315, allocations: 148.1 MB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.315, allocations: 73.8 kB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004733/1.32, allocations: 1.214 MB / 1.352 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.32, allocations: 4 kB / 1.352 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.317e-06/1.32, allocations: 5.094 kB / 1.352 GB, free: 33.86 MB / 0.8386 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.0004661/1.32, allocations: 358.6 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.32, allocations: 9.094 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/1.321, allocations: 13.78 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/1.321, allocations: 165.7 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/1.321, allocations: 275.8 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/1.321, allocations: 2.625 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003384/1.321, allocations: 116.8 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/1.321, allocations: 73.72 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.321, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.321, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.321, allocations: 1.312 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/1.322, allocations: 158.7 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/1.322, allocations: 78.58 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/1.322, allocations: 29.44 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/1.322, allocations: 4.453 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.322, allocations: 39.09 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/1.322, allocations: 0 / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001465/1.323, allocations: 204.7 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.323, allocations: 56.03 kB / 1.353 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/1.324, allocations: 85 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/1.324, allocations: 25.7 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/1.324, allocations: 83.83 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/1.324, allocations: 30.59 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/1.324, allocations: 4 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.324, allocations: 316.3 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/1.324, allocations: 25.48 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/1.324, allocations: 18.2 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.325, allocations: 139.3 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.325, allocations: 0 / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00126/1.326, allocations: 208.7 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.326, allocations: 7.594 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.326, allocations: 0.6562 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.326, allocations: 4 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.327, allocations: 27.36 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.327, allocations: 3.906 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/1.327, allocations: 8.891 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.327, allocations: 1.266 kB / 1.354 GB, free: 32.01 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.358e-05/1.327, allocations: 106.5 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001273/1.328, allocations: 213.3 kB / 1.355 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/1.328, allocations: 3.938 kB / 1.355 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/1.328, allocations: 16.83 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.328, allocations: 3.969 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.328, allocations: 3.984 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.328, allocations: 0.7969 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/1.328, allocations: 147.9 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.328, allocations: 0.7031 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.328, allocations: 24.84 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.328, allocations: 3.953 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.328, allocations: 5.422 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.328, allocations: 2.875 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.328, allocations: 8.562 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.33, allocations: 229.8 kB / 1.355 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/1.33, allocations: 93.23 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/1.33, allocations: 3.953 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/1.33, allocations: 5.578 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.33, allocations: 9.891 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/1.33, allocations: 5.734 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.495e-05/1.33, allocations: 75.28 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.33, allocations: 4 kB / 1.355 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002322/1.33, allocations: 24.56 kB / 1.355 GB, free: 31.41 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/1.332, allocations: 0.7906 MB / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001398/1.332, allocations: 64.81 kB / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.332, allocations: 0 / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.11e-05/1.332, allocations: 43.84 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/1.332, allocations: 9.797 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/1.333, allocations: 144.7 kB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/1.333, allocations: 0.6917 MB / 1.357 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001313/1.333, allocations: 43.16 kB / 1.357 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/1.333, allocations: 19.44 kB / 1.357 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.333, allocations: 0 / 1.357 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/1.352, allocations: 1.449 MB / 1.359 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/1.353, allocations: 136.5 kB / 1.359 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.826, allocations: 3.844 kB / 1.359 GB, free: 29.67 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat does not exist to compare? outputFormat=mat