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/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.0008104, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 12 kB / 0.5161 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 83.42 MB / 0.5975 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.001525/0.1482, allocations: 1.243 MB / 0.5988 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003953/0.1486, allocations: 164.4 kB / 0.5989 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.1486, allocations: 0 / 0.5989 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1487, allocations: 7.938 kB / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.1487, allocations: 0 / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.149, allocations: 39.89 kB / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.751e-05/0.1491, allocations: 27.92 kB / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.1492, allocations: 19.97 kB / 0.599 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.1492, allocations: 15.98 kB / 0.599 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.1492, allocations: 11.92 kB / 0.599 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1493, allocations: 0 / 0.599 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1494, allocations: 39.97 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.1494, allocations: 15.86 kB / 0.5991 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1494, allocations: 25.7 kB / 0.5991 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.1495, allocations: 39.92 kB / 0.5991 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1495, allocations: 4 kB / 0.5991 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1496, allocations: 4 kB / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1496, allocations: 0 / 0.5992 GB, free: 5.988 MB / 0.4981 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.0004478/0.15, allocations: 355.5 kB / 0.5995 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1501, allocations: 8.031 kB / 0.5995 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1501, allocations: 38.56 kB / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.1501, allocations: 0 / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1503, allocations: 178.9 kB / 0.5997 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1503, allocations: 3.938 kB / 0.5997 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1503, allocations: 4 kB / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1505, allocations: 65.67 kB / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1505, allocations: 0 / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1506, allocations: 7.984 kB / 0.5998 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1506, allocations: 4 kB / 0.5998 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1508, allocations: 51.95 kB / 0.5998 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1512, allocations: 284.7 kB / 0.6001 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.1515, allocations: 62.53 kB / 0.6002 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.24e-05/0.1516, allocations: 28.91 kB / 0.6002 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.1518, allocations: 170.2 kB / 0.6004 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1518, allocations: 30.56 kB / 0.6004 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1518, allocations: 0 / 0.6004 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003672/0.1522, allocations: 121.4 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1522, allocations: 51.41 kB / 0.6006 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.1523, allocations: 109.8 kB / 0.6007 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1523, allocations: 33.7 kB / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.1524, allocations: 84.14 kB / 0.6008 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1524, allocations: 7.891 kB / 0.6008 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1524, allocations: 0 / 0.6008 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.1525, allocations: 314.8 kB / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.1526, allocations: 23.98 kB / 0.6011 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.1527, allocations: 31.97 kB / 0.6011 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.1528, allocations: 20.27 kB / 0.6011 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1528, allocations: 4 kB / 0.6012 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002009/0.153, allocations: 97.56 kB / 0.6012 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.153, allocations: 4.781 kB / 0.6012 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.153, allocations: 0 / 0.6012 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.153, allocations: 3.938 kB / 0.6013 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.1531, allocations: 15.98 kB / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1531, allocations: 3.953 kB / 0.6013 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.1532, allocations: 15.84 kB / 0.6013 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1532, allocations: 4 kB / 0.6013 GB, free: 3.531 MB / 0.4981 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 (rea2Int.y,bin.y) * 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 7.473e-05/0.1533, allocations: 109.8 kB / 0.6014 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1533, allocations: 8 kB / 0.6014 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1536, allocations: 93.55 kB / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1536, allocations: 3.938 kB / 0.6015 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1536, allocations: 0 / 0.6015 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1536, allocations: 3.953 kB / 0.6015 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1538, allocations: 173.7 kB / 0.6017 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1538, allocations: 0 / 0.6017 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.1538, allocations: 15.98 kB / 0.6017 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1539, allocations: 0 / 0.6017 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1539, allocations: 0 / 0.6017 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1539, allocations: 4 kB / 0.6017 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1539, allocations: 0 / 0.6017 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1541, allocations: 187.4 kB / 0.6019 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.1542, allocations: 81.11 kB / 0.6019 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1542, allocations: 0 / 0.6019 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.1543, allocations: 15.98 kB / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1543, allocations: 0 / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1543, allocations: 7.984 kB / 0.602 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.1544, allocations: 87.22 kB / 0.602 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1544, allocations: 0 / 0.602 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002598/0.1547, allocations: 16 kB / 0.6021 GB, free: 2.633 MB / 0.4981 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 (rea2Int.y,bin.y) * 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.0008105/0.1555, allocations: 0.7358 MB / 0.6028 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.1558, allocations: 59.95 kB / 0.6028 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1558, allocations: 3.938 kB / 0.6028 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1559, allocations: 39.91 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1562, allocations: 4 kB / 0.6029 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1574, allocations: 458.7 kB / 0.6033 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1577, allocations: 0.6809 MB / 0.604 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.867e-05/0.1578, allocations: 8.547 kB / 0.604 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.1578, allocations: 11.44 kB / 0.604 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.1578, allocations: 0 / 0.604 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2957/0.4535, allocations: 1.64 MB / 0.6056 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.4537, allocations: 182.1 kB / 0.6058 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.145, allocations: 0 / 0.6058 GB, free: 39.94 MB / 0.4981 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) Environment - environmentSimulation: