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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 105.9 kB / 16.35 MB, free: 5.824 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.001084/0.001084, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8825/0.8825, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002483/0.3692, allocations: 1.521 MB / 0.5972 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004376/0.3696, allocations: 181.4 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3697, allocations: 0 / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.3697, allocations: 4.812 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.56e-05/0.3698, allocations: 0 / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.3701, allocations: 57.22 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.3702, allocations: 39.86 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3703, allocations: 17.44 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.3704, allocations: 15.98 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.3704, allocations: 15.92 kB / 0.5975 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.3704, allocations: 8.719 kB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.863e-05/0.3705, allocations: 47.91 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.3705, allocations: 13.28 kB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.3706, allocations: 11.94 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3707, allocations: 67.78 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3707, allocations: 4 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3707, allocations: 1.719 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3707, allocations: 0 / 0.5976 GB, free: 14.14 MB / 446.1 MB 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.0003927/0.3711, allocations: 355.2 kB / 0.598 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3712, allocations: 9.938 kB / 0.598 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3712, allocations: 4.938 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.3713, allocations: 168.3 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.3713, allocations: 4.375 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3713, allocations: 5.781 kB / 0.5982 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3715, allocations: 66.16 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3715, allocations: 192 / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3716, allocations: 4.781 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3716, allocations: 4 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.3717, allocations: 45.42 kB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.372, allocations: 283.5 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.3723, allocations: 59.67 kB / 0.5986 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.3724, allocations: 30.39 kB / 0.5986 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.3726, allocations: 166.2 kB / 0.5988 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3726, allocations: 36.69 kB / 0.5988 GB, free: 12.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3726, allocations: 0 / 0.5988 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.00033/0.373, allocations: 91.2 kB / 0.5989 GB, free: 12.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.373, allocations: 63.28 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.3731, allocations: 113.8 kB / 0.5991 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.3731, allocations: 26.3 kB / 0.5991 GB, free: 12.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.3731, allocations: 85.64 kB / 0.5992 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.3731, allocations: 7.906 kB / 0.5992 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.3732, allocations: 13.72 kB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.3732, allocations: 324.3 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3733, allocations: 15.98 kB / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.3734, allocations: 24.75 kB / 0.5996 GB, free: 11.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3736, allocations: 46.33 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3736, allocations: 0 / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001732/0.3737, allocations: 86.17 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3738, allocations: 5.875 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3738, allocations: 0 / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3738, allocations: 0 / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.3739, allocations: 11.98 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3739, allocations: 2.031 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3739, allocations: 11.88 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3739, allocations: 7.984 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB 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,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.374, allocations: 115.1 kB / 0.5998 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.374, allocations: 4 kB / 0.5998 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.3742, allocations: 78.89 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3743, allocations: 4 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3743, allocations: 3.938 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3743, allocations: 1.531 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.3744, allocations: 169.6 kB / 0.6001 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3744, allocations: 0 / 0.6001 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.3745, allocations: 11.98 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3745, allocations: 1.344 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.3745, allocations: 0 / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3745, allocations: 0 / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3745, allocations: 0 / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3747, allocations: 177.4 kB / 0.6003 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.3747, allocations: 82.48 kB / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3748, allocations: 7.938 kB / 0.6003 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.3748, allocations: 11.98 kB / 0.6004 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3749, allocations: 5.359 kB / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3749, allocations: 4 kB / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.408e-05/0.3749, allocations: 83.28 kB / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3749, allocations: 5.219 kB / 0.6005 GB, free: 10.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3752, allocations: 16 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.3753, allocations: 124.6 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.3755, allocations: 41.31 kB / 0.6006 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3756, allocations: 0 / 0.6006 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.617e-05/0.3756, allocations: 29 kB / 0.6007 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3759, allocations: 8.125 kB / 0.6007 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.3762, allocations: 126.9 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3763, allocations: 0.6859 MB / 0.6015 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.815e-05/0.3763, allocations: 8 kB / 0.6015 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3763, allocations: 16.88 kB / 0.6015 GB, free: 9.816 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3764, allocations: 0 / 0.6015 GB, free: 9.816 MB / 446.1 MB Notification: Performance of Templates: time 0.00307/0.3794, allocations: 0.9863 MB / 0.6024 GB, free: 8.883 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)