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 1.954/1.954, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.00101/0.00101, allocations: 173 kB / 492.3 MB, free: 0.6172 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.284/1.284, allocations: 221.3 MB / 0.7871 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007722/0.0007722, allocations: 99.86 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.96e-05, allocations: 8 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1995, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6741/0.8736, allocations: 148.8 MB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.8738, allocations: 78.84 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003545/0.8774, allocations: 1.221 MB / 1.359 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8774, allocations: 0 / 1.359 GB, free: 34.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.8774, allocations: 0 / 1.359 GB, free: 34.76 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.0003132/0.8777, allocations: 359 kB / 1.359 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8778, allocations: 7.844 kB / 1.359 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.8778, allocations: 42.62 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.8779, allocations: 8.656 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.907e-05/0.8779, allocations: 172.6 kB / 1.36 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.8781, allocations: 281.1 kB / 1.36 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.8781, allocations: 7.656 kB / 1.36 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.8783, allocations: 66.38 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.8783, allocations: 0 / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8783, allocations: 3.844 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.8783, allocations: 3.844 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.8785, allocations: 113.6 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.8786, allocations: 184.2 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.8787, allocations: 89.64 kB / 1.36 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.8788, allocations: 41.33 kB / 1.36 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.8788, allocations: 4.359 kB / 1.36 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.8788, allocations: 31.22 kB / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.8788, allocations: 0 / 1.36 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.00018/0.879, allocations: 98.45 kB / 1.361 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.879, allocations: 51.41 kB / 1.361 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.817e-05/0.8791, allocations: 89 kB / 1.361 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.8791, allocations: 30.3 kB / 1.361 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.8791, allocations: 80.33 kB / 1.361 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.8792, allocations: 40.84 kB / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.8792, allocations: 0 / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.8793, allocations: 319.6 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.8793, allocations: 21.56 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.8794, allocations: 22.05 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.8794, allocations: 30.56 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.8794, allocations: 4 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000131/0.8795, allocations: 105.7 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.8796, allocations: 5.922 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.8796, allocations: 0.7031 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.8796, allocations: 1.875 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.8797, allocations: 29.36 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8797, allocations: 0 / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.8798, allocations: 8.188 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.8798, allocations: 9.453 kB / 1.361 GB, free: 32.83 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 5.418e-05/0.8799, allocations: 112.8 kB / 1.361 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.8799, allocations: 8.438 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.8799, allocations: 10.45 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.88, allocations: 0 / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.88, allocations: 0 / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.88, allocations: 0.75 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.8801, allocations: 178.2 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8801, allocations: 4.609 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.8802, allocations: 24.86 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8802, allocations: 4.516 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.8802, allocations: 1.547 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.8802, allocations: 10.34 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8802, allocations: 0.5156 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.8804, allocations: 124.2 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.8804, allocations: 93.5 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.8804, allocations: 0.6562 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.8805, allocations: 7.812 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.8806, allocations: 14.56 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.8806, allocations: 9.734 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.8806, allocations: 77.97 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8806, allocations: 0 / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001881/0.8808, allocations: 26.62 kB / 1.362 GB, free: 32.25 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.0004215/0.8812, allocations: 0.6888 MB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.8814, allocations: 74.98 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8814, allocations: 0 / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.8814, allocations: 39.53 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.355e-05/0.8815, allocations: 3.875 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.8819, allocations: 162.7 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.8821, allocations: 0.6906 MB / 1.364 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.8822, allocations: 41.38 kB / 1.364 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.8823, allocations: 19.03 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.8823, allocations: 4 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.8937, allocations: 1.744 MB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.8939, allocations: 155.9 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.379/2.273, allocations: 5.469 kB / 1.366 GB, free: 30.36 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