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.001175/0.001176, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001186/0.001186, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.16 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.8784/0.8784, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4118, allocations: 82.03 MB / 0.5957 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002386/0.4142, allocations: 1.528 MB / 0.5972 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004219/0.4147, allocations: 182.2 kB / 0.5974 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.4147, allocations: 0 / 0.5974 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.4148, allocations: 7.875 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.4148, allocations: 7.938 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.4152, allocations: 49.16 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.4153, allocations: 39.91 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4154, allocations: 13.16 kB / 0.5975 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.4155, allocations: 15.92 kB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.4155, allocations: 21.84 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.4155, allocations: 4 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4156, allocations: 47.95 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.4157, allocations: 4 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.4157, allocations: 19.92 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.4158, allocations: 70.88 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4158, allocations: 0 / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4158, allocations: 0 / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.4159, allocations: 0 / 0.5976 GB, free: 14.11 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.0004078/0.4163, allocations: 359.2 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4163, allocations: 8.031 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.4164, allocations: 5.531 kB / 0.598 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.4164, allocations: 164.3 kB / 0.5982 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.4165, allocations: 5.875 kB / 0.5982 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4165, allocations: 4.312 kB / 0.5982 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4167, allocations: 71.7 kB / 0.5982 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4167, allocations: 192 / 0.5982 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4167, allocations: 7.922 kB / 0.5982 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4167, allocations: 0 / 0.5982 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.4169, allocations: 48.64 kB / 0.5983 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.4172, allocations: 284.1 kB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.4175, allocations: 64.55 kB / 0.5986 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.4176, allocations: 24.83 kB / 0.5986 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.4178, allocations: 175.7 kB / 0.5988 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.4178, allocations: 34.56 kB / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4178, allocations: 0.6875 kB / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003367/0.4182, allocations: 99.03 kB / 0.5989 GB, free: 12.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.4182, allocations: 52.91 kB / 0.599 GB, free: 12.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.4183, allocations: 109.8 kB / 0.5991 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.4183, allocations: 25.7 kB / 0.5991 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.4183, allocations: 88.7 kB / 0.5992 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.4183, allocations: 3.906 kB / 0.5992 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.4184, allocations: 19.2 kB / 0.5992 GB, free: 12.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.4184, allocations: 318.8 kB / 0.5995 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.4185, allocations: 21.48 kB / 0.5995 GB, free: 11.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.4186, allocations: 19.97 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.4188, allocations: 46.34 kB / 0.5996 GB, free: 11.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4188, allocations: 0 / 0.5996 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.419, allocations: 84.56 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.419, allocations: 10.03 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.419, allocations: 0 / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.419, allocations: 0 / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.4191, allocations: 11.98 kB / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.4191, allocations: 0 / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.4192, allocations: 13.42 kB / 0.5997 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4192, allocations: 0 / 0.5997 GB, free: 11.74 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 4.993e-05/0.4192, allocations: 117.8 kB / 0.5998 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.4192, allocations: 1.344 kB / 0.5998 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.4195, allocations: 86.33 kB / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4195, allocations: 0 / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4195, allocations: 1.281 kB / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4195, allocations: 0 / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.4196, allocations: 170 kB / 0.6001 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4196, allocations: 3.938 kB / 0.6001 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.4197, allocations: 13.33 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4197, allocations: 0 / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4197, allocations: 3.984 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4197, allocations: 1.531 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4197, allocations: 4 kB / 0.6001 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.42, allocations: 176.6 kB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.42, allocations: 82.39 kB / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.42, allocations: 3.984 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.4201, allocations: 4 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4201, allocations: 16.89 kB / 0.6004 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4202, allocations: 0 / 0.6004 GB, free: 10.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.4202, allocations: 88.22 kB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4202, allocations: 0 / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.4204, allocations: 19.98 kB / 0.6005 GB, free: 10.87 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.0001837/0.4206, allocations: 116.6 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.4209, allocations: 45.42 kB / 0.6006 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4209, allocations: 0 / 0.6006 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.421, allocations: 21.33 kB / 0.6007 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4213, allocations: 11.94 kB / 0.6007 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.4215, allocations: 130.9 kB / 0.6008 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4217, allocations: 0.6768 MB / 0.6015 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.4217, allocations: 9.406 kB / 0.6015 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.4217, allocations: 12.41 kB / 0.6015 GB, free: 9.793 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4217, allocations: 0 / 0.6015 GB, free: 9.793 MB / 446.1 MB Notification: Performance of Templates: time 0.003329/0.4251, allocations: 0.9914 MB / 0.6024 GB, free: 8.852 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)