Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7702/0.7702, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 180.4 kB / 173.7 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 90.75 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004282, allocations: 9.562 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.178, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.3279, allocations: 103.3 MB / 0.7363 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3282, allocations: 71.95 kB / 0.7363 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004077/0.3323, allocations: 1.378 MB / 0.7377 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3323, allocations: 0 / 0.7377 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3324, allocations: 4 kB / 0.7377 GB, free: 5.586 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004281/0.3328, allocations: 359.2 kB / 0.738 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3329, allocations: 8.031 kB / 0.738 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.3329, allocations: 38.5 kB / 0.7381 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.3329, allocations: 11.94 kB / 0.7381 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3331, allocations: 167.1 kB / 0.7382 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3331, allocations: 4 kB / 0.7382 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3331, allocations: 0 / 0.7382 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3333, allocations: 77.58 kB / 0.7383 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3334, allocations: 0 / 0.7383 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.3334, allocations: 0 / 0.7383 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3334, allocations: 0 / 0.7383 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3336, allocations: 63.91 kB / 0.7384 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.334, allocations: 268.8 kB / 0.7386 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3343, allocations: 70.47 kB / 0.7387 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.3347, allocations: 409.7 kB / 0.7391 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3347, allocations: 30.56 kB / 0.7391 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3347, allocations: 0 / 0.7391 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004127/0.3352, allocations: 121.5 kB / 0.7392 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3352, allocations: 51.41 kB / 0.7393 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.3353, allocations: 109.2 kB / 0.7394 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3353, allocations: 25.7 kB / 0.7394 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.3354, allocations: 88.14 kB / 0.7395 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3354, allocations: 11.91 kB / 0.7395 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.3354, allocations: 0 / 0.7395 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3355, allocations: 321 kB / 0.7398 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.3356, allocations: 19.98 kB / 0.7398 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.3357, allocations: 27.98 kB / 0.7399 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.024e-05/0.3358, allocations: 27.97 kB / 0.7399 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3358, allocations: 0 / 0.7399 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002174/0.3361, allocations: 85.66 kB / 0.74 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3361, allocations: 8 kB / 0.74 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3361, allocations: 0 / 0.74 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3361, allocations: 7.891 kB / 0.74 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.3362, allocations: 11.98 kB / 0.74 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3362, allocations: 8 kB / 0.74 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.3363, allocations: 19.89 kB / 0.74 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3363, allocations: 0 / 0.74 GB, free: 2.875 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.342e-05/0.3364, allocations: 113.8 kB / 0.7401 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3365, allocations: 0 / 0.7401 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3367, allocations: 93.55 kB / 0.7402 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3367, allocations: 4 kB / 0.7402 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3367, allocations: 3.953 kB / 0.7402 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3368, allocations: 3.984 kB / 0.7402 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3369, allocations: 165.7 kB / 0.7404 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3369, allocations: 0 / 0.7404 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.337, allocations: 15.98 kB / 0.7404 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.337, allocations: 384 / 0.7404 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.337, allocations: 8 kB / 0.7404 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3371, allocations: 3.938 kB / 0.7404 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3371, allocations: 3.938 kB / 0.7404 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3373, allocations: 187.4 kB / 0.7406 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.3374, allocations: 85.09 kB / 0.7407 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3374, allocations: 0 / 0.7407 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.3375, allocations: 8 kB / 0.7407 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.3376, allocations: 7.984 kB / 0.7407 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3376, allocations: 0 / 0.7407 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.3376, allocations: 95.22 kB / 0.7408 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3376, allocations: 0 / 0.7408 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002327/0.3379, allocations: 20 kB / 0.7408 GB, free: 1.969 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006186/0.3385, allocations: 0.7511 MB / 0.7415 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.3387, allocations: 55.95 kB / 0.7416 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3387, allocations: 0 / 0.7416 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.3388, allocations: 31.98 kB / 0.7416 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.339, allocations: 7.922 kB / 0.7416 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.3399, allocations: 473.6 kB / 0.7421 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3128/0.6528, allocations: 0.6834 MB / 0.7427 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.453e-05/0.6529, allocations: 4.656 kB / 0.7427 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.6529, allocations: 11.91 kB / 0.7428 GB, free: 109 MB / 0.5105 GB Notification: Performance of SimCode: time 3.096e-06/0.653, allocations: 0 / 0.7428 GB, free: 109 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.6676, allocations: 1.599 MB / 0.7443 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.6679, allocations: 175.2 kB / 0.7445 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.264, allocations: 2.812 kB / 0.7445 GB, free: 108.7 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)