Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001638/0.001638, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00305/0.00305, allocations: 217.5 kB / 23.04 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.898/0.898, allocations: 145 MB / 458.2 MB, free: 15.5 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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.001898/0.001898, allocations: 67.41 kB / 0.6339 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2164, allocations: 87.89 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.004144/0.2205, allocations: 1.486 MB / 0.7212 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2222, allocations: 0.6435 MB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.2223, allocations: 4 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.2223, allocations: 3.938 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.2224, allocations: 3.938 kB / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.2228, allocations: 55.81 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.2229, allocations: 27.92 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.223, allocations: 8 kB / 0.722 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.2232, allocations: 23.86 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.2233, allocations: 19.91 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2233, allocations: 0 / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.2235, allocations: 55.97 kB / 0.722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.2235, allocations: 7.984 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.2235, allocations: 11.88 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.2237, allocations: 75.78 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2237, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2237, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2237, allocations: 0 / 0.7221 GB, free: 12.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004587/0.2242, allocations: 282.1 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2242, allocations: 8.031 kB / 0.7224 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.655e-05/0.2242, allocations: 4.188 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.2243, allocations: 30.75 kB / 0.7224 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.2244, allocations: 16.88 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.2247, allocations: 118.5 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2247, allocations: 384 / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.2247, allocations: 384 / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2248, allocations: 53.56 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2249, allocations: 4 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2249, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2249, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.225, allocations: 19.98 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.2254, allocations: 224 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.2255, allocations: 39.17 kB / 0.7229 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.2256, allocations: 16.86 kB / 0.7229 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.2263, allocations: 91.86 kB / 0.723 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.2263, allocations: 34.56 kB / 0.723 GB, free: 11.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2263, allocations: 4 kB / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.2266, allocations: 61.67 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2267, allocations: 51.41 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2268, allocations: 117.7 kB / 0.7233 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2268, allocations: 25.7 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.2269, allocations: 88.14 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.227, allocations: 3.953 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.227, allocations: 25.83 kB / 0.7234 GB, free: 11.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2272, allocations: 314.8 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.2273, allocations: 8 kB / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.2273, allocations: 11.98 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.2274, allocations: 24.84 kB / 0.7237 GB, free: 11.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2274, allocations: 0 / 0.7237 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.2275, allocations: 61.7 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2276, allocations: 4 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2276, allocations: 4 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2276, allocations: 0 / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.2277, allocations: 11.92 kB / 0.7238 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.2277, allocations: 0 / 0.7238 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.2277, allocations: 3.938 kB / 0.7238 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.2277, allocations: 4 kB / 0.7238 GB, free: 11.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.421e-05/0.2278, allocations: 113.8 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.2278, allocations: 4 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.228, allocations: 61.3 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.228, allocations: 0 / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.228, allocations: 0 / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.228, allocations: 3.984 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2282, allocations: 140.6 kB / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2282, allocations: 0 / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.2283, allocations: 7.984 kB / 0.7241 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2283, allocations: 3.969 kB / 0.7241 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2283, allocations: 4 kB / 0.7242 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2283, allocations: 3.938 kB / 0.7242 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2283, allocations: 4 kB / 0.7242 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2285, allocations: 151.5 kB / 0.7243 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.2285, allocations: 8.312 kB / 0.7243 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2285, allocations: 4 kB / 0.7243 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.2286, allocations: 4.031 kB / 0.7243 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2286, allocations: 4 kB / 0.7243 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.2286, allocations: 7.938 kB / 0.7243 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.2287, allocations: 83.27 kB / 0.7244 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2287, allocations: 0 / 0.7244 GB, free: 10.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002423/0.2289, allocations: 19.94 kB / 0.7244 GB, free: 10.36 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006726/0.2296, allocations: 0.7045 MB / 0.7251 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.2297, allocations: 19.98 kB / 0.7251 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2297, allocations: 0 / 0.7251 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.2298, allocations: 11.94 kB / 0.7251 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.23, allocations: 7.984 kB / 0.7252 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.2316, allocations: 1.266 MB / 0.7264 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.232, allocations: 0.6807 MB / 0.7271 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.232, allocations: 0 / 0.7271 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2321, allocations: 15.44 kB / 0.7271 GB, free: 7.527 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2321, allocations: 0 / 0.7271 GB, free: 7.527 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.254, allocations: 1.801 MB / 0.7288 GB, free: 5.871 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.23, allocations: 16.73 kB / 0.7288 GB, free: 5.855 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.00266320607625] Failed to read output from testmodel.py, exit status != 0: 11.388031265931204 11.413967995 11.184832257 Calling exit ...