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.7736/0.7736, allocations: 127.4 MB / 134.9 MB, free: 3.473 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.001295/0.001295, allocations: 176.2 kB / 164.6 MB, free: 11.62 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.859/1.859, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.001241/0.001241, allocations: 92.64 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.559e-05, allocations: 7.594 kB / 0.5467 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1739, allocations: 76.78 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.3121, allocations: 102.5 MB / 0.7217 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.3125, allocations: 75.95 kB / 0.7218 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004103/0.3166, allocations: 1.359 MB / 0.7231 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3167, allocations: 4 kB / 0.7232 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3167, allocations: 0 / 0.7232 GB, free: 2.93 MB / 0.4948 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.0003807/0.3171, allocations: 346.5 kB / 0.7235 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3171, allocations: 12.03 kB / 0.7235 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3172, allocations: 11.84 kB / 0.7235 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3173, allocations: 178.9 kB / 0.7237 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3173, allocations: 0 / 0.7237 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3173, allocations: 4 kB / 0.7237 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.806e-05/0.3174, allocations: 16 kB / 0.7237 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3176, allocations: 49.69 kB / 0.7237 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3176, allocations: 0 / 0.7237 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3176, allocations: 0 / 0.7237 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3176, allocations: 0 / 0.7237 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.318, allocations: 265.3 kB / 0.724 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3182, allocations: 46.56 kB / 0.724 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3183, allocations: 12.92 kB / 0.7241 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.3186, allocations: 401.6 kB / 0.7244 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3187, allocations: 38.56 kB / 0.7245 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3187, allocations: 0 / 0.7245 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000336/0.319, allocations: 61.53 kB / 0.7245 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.3191, allocations: 55.34 kB / 0.7246 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.3191, allocations: 105 kB / 0.7247 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3192, allocations: 25.7 kB / 0.7247 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3192, allocations: 86.3 kB / 0.7248 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.3192, allocations: 11.84 kB / 0.7248 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.3192, allocations: 0 / 0.7248 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3194, allocations: 318.8 kB / 0.7251 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.3194, allocations: 4 kB / 0.7251 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.3194, allocations: 8 kB / 0.7251 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3196, allocations: 23.92 kB / 0.7251 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3196, allocations: 4 kB / 0.7251 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001993/0.3198, allocations: 65.58 kB / 0.7252 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3198, allocations: 4 kB / 0.7252 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3198, allocations: 0 / 0.7252 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3198, allocations: 0 / 0.7252 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.3199, allocations: 15.98 kB / 0.7252 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3199, allocations: 7.891 kB / 0.7252 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.32, allocations: 7.984 kB / 0.7252 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.32, allocations: 8 kB / 0.7252 GB, free: 0.4922 MB / 0.4948 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 () * 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 7.341e-05/0.3201, allocations: 101 kB / 0.7253 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002062/0.3203, allocations: 61.67 kB / 0.7254 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.3204, allocations: 0 / 0.7254 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.3206, allocations: 70.02 kB / 0.7255 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3206, allocations: 3.953 kB / 0.7255 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3206, allocations: 3.938 kB / 0.7255 GB, free: 240 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3206, allocations: 4.031 kB / 0.7255 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.3208, allocations: 150.1 kB / 0.7256 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3208, allocations: 0 / 0.7256 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.489e-05/0.3209, allocations: 19.98 kB / 0.7256 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3209, allocations: 0 / 0.7256 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.3209, allocations: 256 / 0.7256 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3209, allocations: 0 / 0.7256 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3209, allocations: 4 kB / 0.7256 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3212, allocations: 159.5 kB / 0.7258 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.3212, allocations: 89.03 kB / 0.7259 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3212, allocations: 0 / 0.7259 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.3213, allocations: 4 kB / 0.7259 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3214, allocations: 7.984 kB / 0.7259 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3214, allocations: 0 / 0.7259 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.3215, allocations: 87.23 kB / 0.726 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3215, allocations: 0 / 0.726 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000247/0.3217, allocations: 23.98 kB / 0.726 GB, free: 15.62 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 () * 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.0005695/0.3223, allocations: 0.7162 MB / 0.7267 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.3224, allocations: 20 kB / 0.7267 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3224, allocations: 0 / 0.7267 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.3224, allocations: 15.92 kB / 0.7267 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3226, allocations: 12 kB / 0.7267 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.323, allocations: 113.5 kB / 0.7269 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3232, allocations: 0.6845 MB / 0.7275 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.3233, allocations: 0 / 0.7275 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3233, allocations: 19.42 kB / 0.7275 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.3233, allocations: 0 / 0.7275 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.3446, allocations: 1.244 MB / 0.7288 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/0.345, allocations: 134.2 kB / 0.7289 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.837, allocations: 0 / 0.7289 GB, free: 12.54 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)