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: "" <> 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.005194/0.005194, allocations: 99.7 kB / 15.73 MB, free: 6.492 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.001189/0.001189, allocations: 198 kB / 16.67 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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 1.039/1.039, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4099, allocations: 82.03 MB / 0.6752 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002501/0.4124, allocations: 1.526 MB / 0.6767 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004983/0.4129, allocations: 181.1 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.413, allocations: 0 / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.413, allocations: 3.938 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.4131, allocations: 1.344 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.4134, allocations: 55.34 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.104e-05/0.4135, allocations: 34.91 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4136, allocations: 13.38 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.4137, allocations: 25 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.4137, allocations: 21.23 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4138, allocations: 3.406 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.4139, allocations: 47.78 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.4139, allocations: 13.12 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.414, allocations: 11.69 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4141, allocations: 62.53 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4141, allocations: 4 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4141, allocations: 4 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4141, allocations: 0 / 0.6771 GB, free: 15.57 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.0004919/0.4146, allocations: 353.5 kB / 0.6775 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4147, allocations: 9.219 kB / 0.6775 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.4147, allocations: 35.97 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.4148, allocations: 3.094 kB / 0.6775 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.4149, allocations: 174.5 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4149, allocations: 2.688 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.4149, allocations: 1.469 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4152, allocations: 68.64 kB / 0.6777 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4152, allocations: 7.922 kB / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.4152, allocations: 0 / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4152, allocations: 1.188 kB / 0.6777 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.4154, allocations: 44.3 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.4159, allocations: 282.2 kB / 0.6781 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.4163, allocations: 66.66 kB / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4164, allocations: 24.22 kB / 0.6781 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.4167, allocations: 165.8 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4167, allocations: 38.5 kB / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4167, allocations: 9.156 kB / 0.6783 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004451/0.4172, allocations: 94.81 kB / 0.6784 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4172, allocations: 51.41 kB / 0.6785 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.4173, allocations: 116 kB / 0.6786 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4173, allocations: 25.7 kB / 0.6786 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.4174, allocations: 81.67 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4174, allocations: 13.25 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.4175, allocations: 18.11 kB / 0.6787 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4176, allocations: 319.7 kB / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.4177, allocations: 18.34 kB / 0.6791 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.4178, allocations: 18.8 kB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.418, allocations: 51.62 kB / 0.6791 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.418, allocations: 4 kB / 0.6791 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002403/0.4183, allocations: 80.41 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4183, allocations: 5.719 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4183, allocations: 0 / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4183, allocations: 0 / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.4184, allocations: 12.48 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4184, allocations: 0 / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.4185, allocations: 12.39 kB / 0.6792 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4185, allocations: 5.094 kB / 0.6792 GB, free: 13.41 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 9.141e-05/0.4186, allocations: 116.3 kB / 0.6793 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.4186, allocations: 2.188 kB / 0.6793 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4189, allocations: 82.98 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4189, allocations: 1.031 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.419, allocations: 384 / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.419, allocations: 1.125 kB / 0.6794 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.4192, allocations: 177.4 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4192, allocations: 0 / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.4193, allocations: 10.98 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4193, allocations: 5.328 kB / 0.6796 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.4193, allocations: 0 / 0.6796 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4193, allocations: 1.344 kB / 0.6796 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4193, allocations: 0 / 0.6796 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.4196, allocations: 179 kB / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.4197, allocations: 82.19 kB / 0.6799 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.4197, allocations: 1.188 kB / 0.6799 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.4198, allocations: 7.719 kB / 0.6799 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.4199, allocations: 6.453 kB / 0.6799 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4199, allocations: 1.375 kB / 0.6799 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.4199, allocations: 93.36 kB / 0.68 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4199, allocations: 3.938 kB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002544/0.4202, allocations: 21.72 kB / 0.68 GB, free: 12.64 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.0006762/0.4209, allocations: 0.722 MB / 0.6807 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.4212, allocations: 49.8 kB / 0.6807 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4212, allocations: 3.938 kB / 0.6807 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4213, allocations: 27.06 kB / 0.6808 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.4215, allocations: 1.344 kB / 0.6808 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.4229, allocations: 1.287 MB / 0.682 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.4232, allocations: 0.6833 MB / 0.6827 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.4232, allocations: 7.359 kB / 0.6827 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.4233, allocations: 18.42 kB / 0.6827 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.4233, allocations: 0 / 0.6827 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.4427, allocations: 1.97 MB / 0.6846 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.926, allocations: 12.05 kB / 0.6847 GB, free: 8.855 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 & /home/hudson/saved_omc/OMSimulator/install/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)