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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.009732/0.009732, allocations: 102.1 kB / 15.73 MB, free: 5.508 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.001887/0.001887, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.071/1.071, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.91 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4181, allocations: 82.02 MB / 0.6754 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002331/0.4205, allocations: 1.541 MB / 0.6769 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004964/0.421, allocations: 176.5 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.4211, allocations: 0 / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4211, allocations: 9.141 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.4212, allocations: 3.938 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.4215, allocations: 51.22 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.4216, allocations: 38.67 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.4217, allocations: 14.47 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.4217, allocations: 17.77 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.4218, allocations: 20.19 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4218, allocations: 4.062 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.4219, allocations: 46.7 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.422, allocations: 5.094 kB / 0.6773 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.422, allocations: 20.47 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.4222, allocations: 68.45 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4222, allocations: 5.344 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4222, allocations: 3.938 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.4222, allocations: 0 / 0.6774 GB, free: 15.42 MB / 0.5137 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.0005227/0.4227, allocations: 352.2 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4228, allocations: 9.219 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.4228, allocations: 40.14 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.4229, allocations: 7.453 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.423, allocations: 161.8 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.423, allocations: 2.906 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.4231, allocations: 9.812 kB / 0.6779 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.4233, allocations: 59.28 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4233, allocations: 5.031 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4233, allocations: 4 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4233, allocations: 1.125 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.4235, allocations: 48.2 kB / 0.678 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.424, allocations: 278.8 kB / 0.6783 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.4243, allocations: 58.55 kB / 0.6784 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4244, allocations: 28.62 kB / 0.6784 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.4247, allocations: 176.3 kB / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.4247, allocations: 39.59 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.4247, allocations: 1.281 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004008/0.4251, allocations: 90.12 kB / 0.6787 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4252, allocations: 60.36 kB / 0.6787 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.4253, allocations: 103.4 kB / 0.6788 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4253, allocations: 25.7 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.4253, allocations: 97.41 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.4254, allocations: 10.14 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.4254, allocations: 16.91 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4256, allocations: 320 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.4257, allocations: 22.95 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.4257, allocations: 22.38 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.4259, allocations: 43.2 kB / 0.6794 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4259, allocations: 0 / 0.6794 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.4262, allocations: 77.7 kB / 0.6794 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4262, allocations: 5 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4262, allocations: 0 / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4262, allocations: 1.531 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.4263, allocations: 10.55 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4263, allocations: 5.5 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.4264, allocations: 14.52 kB / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4264, allocations: 1.156 kB / 0.6795 GB, free: 13.27 MB / 0.5137 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,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 8.759e-05/0.4265, allocations: 120.5 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4265, allocations: 2.438 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.4268, allocations: 79.77 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4268, allocations: 0 / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4268, allocations: 5.094 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.4268, allocations: 0 / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.427, allocations: 169.8 kB / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.427, allocations: 0 / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.4271, allocations: 12.2 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4271, allocations: 0 / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4271, allocations: 1.438 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.4272, allocations: 0 / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4272, allocations: 8.188 kB / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.4274, allocations: 184.3 kB / 0.68 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.4275, allocations: 82.42 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4275, allocations: 0 / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.4276, allocations: 8.297 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.4277, allocations: 6.281 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.4277, allocations: 1.281 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.4277, allocations: 89.28 kB / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4277, allocations: 5.094 kB / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002532/0.428, allocations: 21 kB / 0.6802 GB, free: 12.49 MB / 0.5137 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 (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.0006634/0.4287, allocations: 0.7255 MB / 0.681 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.429, allocations: 50.92 kB / 0.681 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.429, allocations: 0 / 0.681 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4291, allocations: 26.7 kB / 0.681 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4294, allocations: 9.266 kB / 0.681 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4309, allocations: 1.285 MB / 0.6823 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4312, allocations: 0.6792 MB / 0.683 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.4313, allocations: 11.09 kB / 0.683 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4313, allocations: 15.41 kB / 0.683 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4314, allocations: 0 / 0.683 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.4573, allocations: 1.954 MB / 0.6849 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.308, allocations: 23.55 kB / 0.6849 GB, free: 8.707 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)