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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 114.6 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 223.5 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9136/0.9136, allocations: 145 MB / 457.4 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 66.75 kB / 0.6332 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2216, allocations: 87.89 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002999/0.2246, allocations: 1.553 MB / 0.7205 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.2251, allocations: 192.2 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2252, allocations: 0 / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.2252, allocations: 3.938 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.2253, allocations: 7.938 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.2256, allocations: 55.88 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.2257, allocations: 31.92 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2258, allocations: 11.98 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.2259, allocations: 15.94 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.2259, allocations: 19.91 kB / 0.7208 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2259, allocations: 4 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.2261, allocations: 51.95 kB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.2261, allocations: 11.98 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2261, allocations: 23.8 kB / 0.7209 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2263, allocations: 67.78 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.2263, allocations: 4 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2263, allocations: 0 / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2263, allocations: 0 / 0.721 GB, free: 13.37 MB / 0.545 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.0005431/0.2269, allocations: 282.2 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2269, allocations: 8.031 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.42e-05/0.227, allocations: 42.69 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.227, allocations: 4.938 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2272, allocations: 110.4 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2272, allocations: 8.375 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2272, allocations: 384 / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.2274, allocations: 66.22 kB / 0.7215 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2275, allocations: 3.938 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2275, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2275, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.2277, allocations: 43.95 kB / 0.7215 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.2281, allocations: 251.9 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.2284, allocations: 54.53 kB / 0.7218 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.2285, allocations: 24.91 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.2287, allocations: 24.03 kB / 0.7219 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.2287, allocations: 34.56 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.2287, allocations: 0 / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004012/0.2291, allocations: 97.53 kB / 0.722 GB, free: 12.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2292, allocations: 51.41 kB / 0.7221 GB, free: 12.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2293, allocations: 109.8 kB / 0.7222 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2293, allocations: 25.7 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.2294, allocations: 96.12 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.2294, allocations: 7.891 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.2294, allocations: 13.72 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2296, allocations: 322.8 kB / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.532e-05/0.2297, allocations: 19.98 kB / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.2298, allocations: 15.98 kB / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2299, allocations: 53.03 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2299, allocations: 0 / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002299/0.2302, allocations: 81.59 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2302, allocations: 11.98 kB / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2302, allocations: 0 / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2302, allocations: 0 / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.2303, allocations: 11.98 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2303, allocations: 4.25 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.2303, allocations: 8 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2303, allocations: 3.938 kB / 0.7228 GB, free: 11.32 MB / 0.545 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.571e-05/0.2304, allocations: 121.8 kB / 0.7229 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2305, allocations: 0 / 0.7229 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.2308, allocations: 89.56 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2308, allocations: 0 / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2308, allocations: 4 kB / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2308, allocations: 0 / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.231, allocations: 144.6 kB / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.231, allocations: 0 / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.591e-05/0.231, allocations: 11.98 kB / 0.7232 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.231, allocations: 4 kB / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2311, allocations: 0 / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2311, allocations: 4 kB / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2311, allocations: 0 / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.2313, allocations: 179.4 kB / 0.7233 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.2314, allocations: 4 kB / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.2314, allocations: 0 / 0.7233 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.2315, allocations: 7.984 kB / 0.7234 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.2315, allocations: 4 kB / 0.7234 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2315, allocations: 0 / 0.7234 GB, free: 10.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.2316, allocations: 91.27 kB / 0.7234 GB, free: 10.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2316, allocations: 4 kB / 0.7235 GB, free: 10.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002653/0.2318, allocations: 23.89 kB / 0.7235 GB, free: 10.55 MB / 0.545 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.0007068/0.2325, allocations: 0.7124 MB / 0.7242 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.2328, allocations: 51.89 kB / 0.7242 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2328, allocations: 0 / 0.7242 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.2329, allocations: 27.97 kB / 0.7242 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2332, allocations: 3.938 kB / 0.7242 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2349, allocations: 1.304 MB / 0.7255 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.2353, allocations: 0.6768 MB / 0.7262 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.2353, allocations: 7.984 kB / 0.7262 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.2353, allocations: 15.44 kB / 0.7262 GB, free: 7.629 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.2353, allocations: 0 / 0.7262 GB, free: 7.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.2643, allocations: 2.071 MB / 0.7282 GB, free: 5.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.32, allocations: 4.812 kB / 0.7282 GB, free: 5.688 MB / 0.545 GB " [Timeout remaining time 649] (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 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.9872158060316] Failed to read output from testmodel.py, exit status != 0: 11.43320201500319 11.449945339 11.220212862 Calling exit ...