Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.7865/0.7865, allocations: 127.4 MB / 134.9 MB, free: 3.785 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.00117/0.00117, allocations: 180.9 kB / 164.7 MB, free: 6.531 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.741/1.741, allocations: 205.2 MB / 399.5 MB, free: 5.914 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.000848/0.0008479, allocations: 93.23 kB / 476.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.494e-05, allocations: 8 kB / 0.5467 GB, free: 60.37 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.156, allocations: 76.77 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6232, allocations: 101.8 MB / 0.7211 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.6235, allocations: 82.19 kB / 0.7211 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003708/0.6272, allocations: 1.324 MB / 0.7224 GB, free: 12.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6273, allocations: 4 kB / 0.7224 GB, free: 12.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.6273, allocations: 0 / 0.7224 GB, free: 12.28 MB / 490.7 MB 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.0003913/0.6277, allocations: 357.8 kB / 0.7228 GB, free: 11.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6277, allocations: 12.03 kB / 0.7228 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.6278, allocations: 8.734 kB / 0.7228 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.6279, allocations: 163.1 kB / 0.7229 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.6281, allocations: 277 kB / 0.7232 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.6282, allocations: 0 / 0.7232 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001775/0.6283, allocations: 122.5 kB / 0.7233 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.6284, allocations: 65.03 kB / 0.7234 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.6285, allocations: 7.938 kB / 0.7234 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.6285, allocations: 0 / 0.7234 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6285, allocations: 0 / 0.7234 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.6286, allocations: 161.3 kB / 0.7236 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.6288, allocations: 73.23 kB / 0.7236 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.6288, allocations: 32.16 kB / 0.7237 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.6288, allocations: 4 kB / 0.7237 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.6289, allocations: 38.25 kB / 0.7237 GB, free: 10.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.6289, allocations: 3.938 kB / 0.7237 GB, free: 10.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001337/0.6302, allocations: 199.8 kB / 0.7239 GB, free: 10.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6303, allocations: 55.34 kB / 0.7239 GB, free: 10.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.003e-05/0.6303, allocations: 85 kB / 0.724 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.6303, allocations: 25.7 kB / 0.724 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.6303, allocations: 83.89 kB / 0.7241 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.6304, allocations: 39.7 kB / 0.7242 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.6304, allocations: 0 / 0.7242 GB, free: 10.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.6305, allocations: 314.8 kB / 0.7245 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.6306, allocations: 23.3 kB / 0.7245 GB, free: 10.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.6306, allocations: 19.56 kB / 0.7245 GB, free: 10 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.6317, allocations: 148.4 kB / 0.7246 GB, free: 9.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6318, allocations: 0 / 0.7246 GB, free: 9.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001224/0.633, allocations: 206.6 kB / 0.7248 GB, free: 9.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.633, allocations: 7.938 kB / 0.7249 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.633, allocations: 0 / 0.7249 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.633, allocations: 0 / 0.7249 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.6332, allocations: 28.84 kB / 0.7249 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.6332, allocations: 4 kB / 0.7249 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.6333, allocations: 7.906 kB / 0.7249 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6333, allocations: 7.984 kB / 0.7249 GB, free: 9.637 MB / 490.7 MB 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 6.736e-05/0.6334, allocations: 108.9 kB / 0.725 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001233/0.6346, allocations: 206.6 kB / 0.7252 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.6346, allocations: 7.906 kB / 0.7252 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.6347, allocations: 11.84 kB / 0.7252 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6347, allocations: 1.875 kB / 0.7252 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6347, allocations: 4 kB / 0.7252 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6347, allocations: 0 / 0.7252 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.6348, allocations: 157 kB / 0.7254 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6348, allocations: 0 / 0.7254 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.635, allocations: 23.98 kB / 0.7254 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.635, allocations: 0 / 0.7254 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.635, allocations: 3.984 kB / 0.7254 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.635, allocations: 0 / 0.7254 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.635, allocations: 0 / 0.7254 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6363, allocations: 246.2 kB / 0.7256 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.6363, allocations: 88.98 kB / 0.7257 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.6363, allocations: 0 / 0.7257 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.6364, allocations: 7.984 kB / 0.7257 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.6365, allocations: 11.98 kB / 0.7257 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.6365, allocations: 7.969 kB / 0.7257 GB, free: 8.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.549e-05/0.6365, allocations: 81.94 kB / 0.7258 GB, free: 8.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6365, allocations: 0 / 0.7258 GB, free: 8.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000229/0.6368, allocations: 23.5 kB / 0.7258 GB, free: 8.652 MB / 490.7 MB 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.001637/0.6384, allocations: 0.796 MB / 0.7266 GB, free: 7.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.6386, allocations: 61.97 kB / 0.7267 GB, free: 7.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6386, allocations: 3.438 kB / 0.7267 GB, free: 7.801 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.6387, allocations: 42.66 kB / 0.7267 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.695e-05/0.6388, allocations: 0 / 0.7267 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.6391, allocations: 135.8 kB / 0.7269 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.6394, allocations: 0.6923 MB / 0.7275 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.6395, allocations: 40.88 kB / 0.7276 GB, free: 6.844 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.6396, allocations: 25.98 kB / 0.7276 GB, free: 6.824 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6396, allocations: 3.938 kB / 0.7276 GB, free: 6.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.6581, allocations: 1.473 MB / 0.729 GB, free: 5.359 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.6584, allocations: 152 kB / 0.7292 GB, free: 5.164 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.162, allocations: 0 / 0.7292 GB, free: 5.164 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)