Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001375/0.001375, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001677/0.001677, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.992 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.9358/0.9358, allocations: 145 MB / 457.4 MB, free: 15.54 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.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.002211/0.002211, allocations: 70.38 kB / 0.6332 GB, free: 7.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1707, allocations: 87.88 MB / 0.719 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001843/0.1726, allocations: 0.5883 MB / 0.7196 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.173, allocations: 115.6 kB / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.173, allocations: 3.828 kB / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.173, allocations: 3.938 kB / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.173, allocations: 0 / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1734, allocations: 43.89 kB / 0.7198 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1735, allocations: 63.92 kB / 0.7198 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.1735, allocations: 4 kB / 0.7198 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.1736, allocations: 23.98 kB / 0.7198 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.1736, allocations: 23.95 kB / 0.7199 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1736, allocations: 4 kB / 0.7199 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1738, allocations: 51.95 kB / 0.7199 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1738, allocations: 27.95 kB / 0.7199 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1738, allocations: 23.86 kB / 0.72 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.174, allocations: 67.78 kB / 0.72 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.174, allocations: 4 kB / 0.72 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.173e-06/0.174, allocations: 0 / 0.72 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.174, allocations: 0 / 0.72 GB, free: 14.35 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004938/0.1745, allocations: 294.3 kB / 0.7203 GB, free: 14.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1745, allocations: 8.031 kB / 0.7203 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.1746, allocations: 38.75 kB / 0.7204 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.1746, allocations: 8.938 kB / 0.7204 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.1747, allocations: 114.5 kB / 0.7205 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/0.1752, allocations: 0.526 MB / 0.721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1752, allocations: 4.375 kB / 0.721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1754, allocations: 89.88 kB / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1754, allocations: 0 / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1755, allocations: 0 / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1755, allocations: 4 kB / 0.7211 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.1758, allocations: 131.8 kB / 0.7212 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.176, allocations: 152.6 kB / 0.7214 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1763, allocations: 98.45 kB / 0.7215 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1764, allocations: 36.83 kB / 0.7215 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1764, allocations: 11.92 kB / 0.7215 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1765, allocations: 34.5 kB / 0.7215 GB, free: 12.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 3.156e-06/0.1765, allocations: 3.984 kB / 0.7215 GB, free: 12.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005118/0.177, allocations: 149.9 kB / 0.7217 GB, free: 12.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.177, allocations: 59.34 kB / 0.7217 GB, free: 12.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.1771, allocations: 89.86 kB / 0.7218 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1771, allocations: 25.7 kB / 0.7218 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.1771, allocations: 80.14 kB / 0.7219 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.1772, allocations: 43.64 kB / 0.722 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.1773, allocations: 29.7 kB / 0.722 GB, free: 12.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1774, allocations: 310.8 kB / 0.7223 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1775, allocations: 39.97 kB / 0.7223 GB, free: 11.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1776, allocations: 31.97 kB / 0.7224 GB, free: 11.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1779, allocations: 77.41 kB / 0.7224 GB, free: 11.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.1779, allocations: 4 kB / 0.7224 GB, free: 11.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003158/0.1782, allocations: 113.6 kB / 0.7225 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1782, allocations: 11.88 kB / 0.7226 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1782, allocations: 0 / 0.7226 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1783, allocations: 0 / 0.7226 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1784, allocations: 27.97 kB / 0.7226 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1784, allocations: 4 kB / 0.7226 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.1785, allocations: 4 kB / 0.7226 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1785, allocations: 4 kB / 0.7226 GB, free: 11.41 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001022/0.1786, allocations: 117.8 kB / 0.7227 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.1786, allocations: 7.891 kB / 0.7227 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.1786, allocations: 11.91 kB / 0.7227 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1786, allocations: 4 kB / 0.7227 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1787, allocations: 0 / 0.7227 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1787, allocations: 4 kB / 0.7227 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1788, allocations: 156.6 kB / 0.7229 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1788, allocations: 3.984 kB / 0.7229 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1789, allocations: 23.92 kB / 0.7229 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1789, allocations: 3.938 kB / 0.7229 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.179, allocations: 8 kB / 0.7229 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.179, allocations: 3.984 kB / 0.7229 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.179, allocations: 0 / 0.7229 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1793, allocations: 137 kB / 0.7231 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.1793, allocations: 7.938 kB / 0.7231 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1793, allocations: 4 kB / 0.7231 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.1794, allocations: 7.984 kB / 0.7231 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1794, allocations: 7.984 kB / 0.7231 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1795, allocations: 11.98 kB / 0.7231 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.1795, allocations: 87.09 kB / 0.7232 GB, free: 10.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1795, allocations: 0 / 0.7232 GB, free: 10.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002247/0.1797, allocations: 23.94 kB / 0.7232 GB, free: 10.72 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007249/0.1804, allocations: 0.6904 MB / 0.7239 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.1808, allocations: 87.81 kB / 0.724 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1808, allocations: 0 / 0.724 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1809, allocations: 47.91 kB / 0.724 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.181, allocations: 11.77 kB / 0.724 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.1816, allocations: 198.4 kB / 0.7242 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1819, allocations: 0.6866 MB / 0.7249 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.1821, allocations: 39.94 kB / 0.7249 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.1821, allocations: 19.42 kB / 0.7249 GB, free: 8.855 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.1821, allocations: 0 / 0.7249 GB, free: 8.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.2109, allocations: 2.215 MB / 0.7271 GB, free: 6.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.26, allocations: 4.062 kB / 0.7271 GB, free: 6.77 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.91955082397908] Failed to read output from testmodel.py, exit status != 0: 11.360235671047121 11.376425392 11.199222062 Calling exit ...