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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 86.48 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 19.98 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.5853, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0005729/0.5859, allocations: 310.8 kB / 0.9542 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.5862, allocations: 102.8 kB / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.361e-05/0.5863, allocations: 0 / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.5863, allocations: 0 / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.5863, allocations: 0 / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.5865, allocations: 32.88 kB / 0.9543 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.262e-05/0.5866, allocations: 54.52 kB / 0.9543 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.5867, allocations: 1.344 kB / 0.9543 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.5867, allocations: 25.88 kB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.5868, allocations: 32.84 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.5868, allocations: 2.062 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.5869, allocations: 41.67 kB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.5869, allocations: 16.23 kB / 0.9545 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.587, allocations: 30.61 kB / 0.9545 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.992e-05/0.5871, allocations: 45.39 kB / 0.9545 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5871, allocations: 1.406 kB / 0.9545 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5871, allocations: 0 / 0.9545 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.766e-06/0.5871, allocations: 0 / 0.9545 GB, free: 7.625 MB / 0.7169 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.0003415/0.5874, allocations: 359.7 kB / 0.9549 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5875, allocations: 10.03 kB / 0.9549 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.5875, allocations: 40.88 kB / 0.9549 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.5875, allocations: 9.984 kB / 0.9549 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.818e-05/0.5876, allocations: 165.3 kB / 0.9551 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.5878, allocations: 286.4 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.5878, allocations: 4.094 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.588, allocations: 81.03 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.588, allocations: 0 / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.588, allocations: 1.031 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.588, allocations: 9.328 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.5884, allocations: 135.8 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.5885, allocations: 179 kB / 0.9558 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.5888, allocations: 93.92 kB / 0.9558 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.5889, allocations: 41.83 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.5889, allocations: 6.094 kB / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.5889, allocations: 35.89 kB / 0.9559 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.5889, allocations: 0 / 0.9559 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004662/0.5894, allocations: 151 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.5894, allocations: 52.44 kB / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.695e-05/0.5895, allocations: 94.94 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.5895, allocations: 29.7 kB / 0.9562 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.063e-05/0.5895, allocations: 81.45 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.5895, allocations: 35.73 kB / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.5895, allocations: 0 / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.5896, allocations: 320.9 kB / 0.9567 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.5897, allocations: 34.25 kB / 0.9567 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.5898, allocations: 39.38 kB / 0.9567 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.59, allocations: 27.67 kB / 0.9568 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.59, allocations: 0 / 0.9568 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002921/0.5903, allocations: 112.4 kB / 0.9569 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5903, allocations: 5.344 kB / 0.9569 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5903, allocations: 0 / 0.9569 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5903, allocations: 5.156 kB / 0.9569 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.5905, allocations: 25.22 kB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5905, allocations: 1.156 kB / 0.9569 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.5905, allocations: 7.562 kB / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.5906, allocations: 10.22 kB / 0.9569 GB, free: 5.344 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.5906, allocations: 114.2 kB / 0.957 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.5906, allocations: 10.25 kB / 0.957 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.5907, allocations: 9.188 kB / 0.957 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5907, allocations: 12.98 kB / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5907, allocations: 0 / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5907, allocations: 1.031 kB / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.5908, allocations: 187.4 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5908, allocations: 0 / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5909, allocations: 22.48 kB / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.591, allocations: 0 / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.591, allocations: 5.109 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.591, allocations: 1.094 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.591, allocations: 0.9375 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.5913, allocations: 157.1 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.5913, allocations: 82.3 kB / 0.9575 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.5913, allocations: 5 kB / 0.9575 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.5914, allocations: 7.562 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.5915, allocations: 12.72 kB / 0.9575 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5915, allocations: 2.875 kB / 0.9575 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.094e-05/0.5915, allocations: 76.72 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5915, allocations: 0 / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002219/0.5917, allocations: 24.59 kB / 0.9576 GB, free: 4.652 MB / 0.7169 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 (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.0005337/0.5923, allocations: 0.6926 MB / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.5926, allocations: 87.69 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5926, allocations: 0 / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5927, allocations: 50.5 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.5929, allocations: 5.281 kB / 0.9584 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.5933, allocations: 214.3 kB / 0.9586 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.368e-05/0.5934, allocations: 0.6848 MB / 0.9593 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.5936, allocations: 46.92 kB / 0.9593 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.5936, allocations: 20.02 kB / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5936, allocations: 0 / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.6045, allocations: 1.756 MB / 0.9611 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/0.6047, allocations: 193.9 kB / 0.9613 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.368, allocations: 0 / 0.9613 GB, free: 1.941 MB / 0.7169 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