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.001613/0.001613, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002081/0.002081, allocations: 217.8 kB / 23.05 MB, free: 5.074 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9231/0.9231, allocations: 145 MB / 458.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="cs",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.001988/0.001988, allocations: 67.94 kB / 0.6339 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2047, allocations: 87.87 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003092/0.2078, allocations: 1.566 MB / 0.7213 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.2084, allocations: 184.2 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2084, allocations: 4 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.2085, allocations: 3.938 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.2085, allocations: 3.938 kB / 0.7215 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.2089, allocations: 55.88 kB / 0.7215 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.209, allocations: 31.92 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2091, allocations: 11.98 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.2092, allocations: 19.94 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.2092, allocations: 19.91 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2092, allocations: 4 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.2094, allocations: 51.94 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2094, allocations: 8 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.2094, allocations: 19.86 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.2096, allocations: 67.78 kB / 0.7218 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2096, allocations: 4 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2096, allocations: 0 / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.2097, allocations: 4 kB / 0.7218 GB, free: 13.36 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.0005629/0.2102, allocations: 278.2 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2103, allocations: 15.97 kB / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.2103, allocations: 192 / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2103, allocations: 34.75 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2104, allocations: 4.938 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2105, allocations: 114.4 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2105, allocations: 8.312 kB / 0.7222 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.2105, allocations: 4.375 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.2107, allocations: 69.97 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2107, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2107, allocations: 4 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2107, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2109, allocations: 39.95 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.2114, allocations: 259.8 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.2117, allocations: 54.61 kB / 0.7226 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2118, allocations: 28.81 kB / 0.7226 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.2119, allocations: 15.98 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.212, allocations: 34.56 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.212, allocations: 4 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003937/0.2124, allocations: 97.52 kB / 0.7228 GB, free: 12.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.2124, allocations: 51.41 kB / 0.7228 GB, free: 12.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2126, allocations: 109.8 kB / 0.7229 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2126, allocations: 29.7 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.2127, allocations: 84.14 kB / 0.723 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2127, allocations: 11.89 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.2127, allocations: 13.72 kB / 0.7231 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2129, allocations: 322.8 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.213, allocations: 19.98 kB / 0.7234 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.213, allocations: 19.97 kB / 0.7234 GB, free: 11.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.2132, allocations: 44.83 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2132, allocations: 4 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002283/0.2134, allocations: 81.53 kB / 0.7235 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2135, allocations: 8 kB / 0.7235 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2135, allocations: 0 / 0.7235 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2135, allocations: 3.938 kB / 0.7236 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.2136, allocations: 11.98 kB / 0.7236 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2136, allocations: 0 / 0.7236 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.2136, allocations: 8 kB / 0.7236 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2136, allocations: 3.984 kB / 0.7236 GB, free: 11.3 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.744e-05/0.2137, allocations: 117.8 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2138, allocations: 0 / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.214, allocations: 85.89 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.214, allocations: 0 / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2141, allocations: 0 / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2141, allocations: 4 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.2142, allocations: 144.6 kB / 0.7239 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2142, allocations: 0 / 0.7239 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.2143, allocations: 11.98 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2143, allocations: 3.938 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2143, allocations: 4 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2143, allocations: 4 kB / 0.7239 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2143, allocations: 0 / 0.7239 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.2146, allocations: 183.8 kB / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.2147, allocations: 0 / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2147, allocations: 0 / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.2148, allocations: 7.984 kB / 0.7241 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.2148, allocations: 12.02 kB / 0.7241 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2148, allocations: 4 kB / 0.7241 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.075e-05/0.2149, allocations: 87.27 kB / 0.7242 GB, free: 10.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2149, allocations: 4 kB / 0.7242 GB, free: 10.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002563/0.2151, allocations: 23.89 kB / 0.7242 GB, free: 10.54 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.0006946/0.2158, allocations: 0.7163 MB / 0.7249 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.2161, allocations: 47.89 kB / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2161, allocations: 3.938 kB / 0.725 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.2162, allocations: 27.97 kB / 0.725 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.2165, allocations: 2.031 kB / 0.725 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2181, allocations: 1.296 MB / 0.7263 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.2184, allocations: 0.6884 MB / 0.727 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.2185, allocations: 4 kB / 0.727 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2185, allocations: 11.44 kB / 0.727 GB, free: 7.617 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2185, allocations: 0 / 0.727 GB, free: 7.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.25, allocations: 2.102 MB / 0.729 GB, free: 5.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.22, allocations: 13.62 kB / 0.729 GB, free: 5.656 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 os._exit(0), Time elapsed: 14.958163283998147] Failed to read output from testmodel.py, exit status != 0: 11.379113623988815 11.407506709 11.192522106 Calling exit ...