Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8949/0.8949, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 169 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 88.05 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.001891, allocations: 279.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.515e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4725, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.6253, allocations: 107.5 MB / 0.8625 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6257, allocations: 79.94 kB / 0.8626 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003908/0.6296, allocations: 1.22 MB / 0.8637 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6296, allocations: 3.938 kB / 0.8638 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.6296, allocations: 4 kB / 0.8638 GB, free: 2.938 MB / 0.5261 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.0004721/0.6301, allocations: 354.5 kB / 0.8641 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6302, allocations: 8.031 kB / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.6302, allocations: 15.91 kB / 0.8641 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6304, allocations: 167 kB / 0.8643 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.6307, allocations: 277 kB / 0.8645 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.6307, allocations: 4 kB / 0.8645 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002237/0.6309, allocations: 119.8 kB / 0.8647 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.6311, allocations: 65.59 kB / 0.8647 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6311, allocations: 0 / 0.8647 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6311, allocations: 0 / 0.8647 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6311, allocations: 4 kB / 0.8647 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.6313, allocations: 154.1 kB / 0.8649 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.6314, allocations: 82.48 kB / 0.8649 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.6315, allocations: 32.84 kB / 0.865 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.6315, allocations: 4 kB / 0.865 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.6316, allocations: 38.52 kB / 0.865 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.6316, allocations: 0 / 0.865 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001384/0.633, allocations: 209.6 kB / 0.8652 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.633, allocations: 55.41 kB / 0.8653 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.6331, allocations: 89 kB / 0.8654 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.6332, allocations: 25.7 kB / 0.8654 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.6332, allocations: 80.33 kB / 0.8655 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.6333, allocations: 27.56 kB / 0.8655 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.6333, allocations: 0 / 0.8655 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6334, allocations: 318.8 kB / 0.8658 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.6335, allocations: 23.98 kB / 0.8658 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.6335, allocations: 20 kB / 0.8658 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.6347, allocations: 139.8 kB / 0.866 GB, free: 424 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6347, allocations: 4 kB / 0.866 GB, free: 420 kB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001228/0.6359, allocations: 209.3 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.636, allocations: 4 kB / 0.8662 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.636, allocations: 0 / 0.8662 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.636, allocations: 3.953 kB / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6362, allocations: 27.97 kB / 0.8662 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6362, allocations: 0 / 0.8662 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.6363, allocations: 4 kB / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.6363, allocations: 11.98 kB / 0.8662 GB, free: 152 kB / 0.5261 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.994e-05/0.6364, allocations: 112.9 kB / 0.8663 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001261/0.6377, allocations: 209.3 kB / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.6377, allocations: 7.938 kB / 0.8665 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.6377, allocations: 8.406 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6377, allocations: 4 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6378, allocations: 0 / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6378, allocations: 0 / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.6379, allocations: 150.2 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6379, allocations: 0 / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.6381, allocations: 23.98 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6381, allocations: 4 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.6381, allocations: 11.92 kB / 0.8667 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6381, allocations: 3.953 kB / 0.8667 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6381, allocations: 0 / 0.8667 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.6394, allocations: 232.8 kB / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.6394, allocations: 81.05 kB / 0.867 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.6394, allocations: 4 kB / 0.867 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.6395, allocations: 7.984 kB / 0.867 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.6396, allocations: 19.94 kB / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.6396, allocations: 3.984 kB / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.6396, allocations: 75.28 kB / 0.8671 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6396, allocations: 0 / 0.8671 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000225/0.6399, allocations: 24 kB / 0.8672 GB, free: 15.09 MB / 0.5417 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.001695/0.6416, allocations: 0.7885 MB / 0.8679 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.6417, allocations: 72.02 kB / 0.868 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6417, allocations: 7.875 kB / 0.868 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.6418, allocations: 31.98 kB / 0.868 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.6419, allocations: 3.953 kB / 0.868 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.6424, allocations: 137.5 kB / 0.8682 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.6427, allocations: 0.7001 MB / 0.8689 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.6428, allocations: 35.8 kB / 0.8689 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.6429, allocations: 23.42 kB / 0.8689 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6429, allocations: 0 / 0.8689 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.6646, allocations: 1.457 MB / 0.8703 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.6649, allocations: 155.5 kB / 0.8705 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.339, allocations: 3.938 kB / 0.8705 GB, free: 11.57 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)