Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.001337/0.001337, 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.001525/0.001525, allocations: 219.9 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.488/1.488, allocations: 230.6 MB / 256 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.9584/0.9584, allocations: 145 MB / 457.4 MB, free: 15.51 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.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.00206/0.00206, allocations: 62.53 kB / 0.6332 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2024, allocations: 87.88 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003392/0.2058, allocations: 1.814 MB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2074, allocations: 0.7572 MB / 0.7215 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2075, allocations: 0 / 0.7215 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.65e-05/0.2076, allocations: 11.86 kB / 0.7215 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2077, allocations: 15.81 kB / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.2085, allocations: 190.2 kB / 0.7217 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.2088, allocations: 123.6 kB / 0.7218 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2089, allocations: 37.61 kB / 0.7219 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.2091, allocations: 67.81 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2093, allocations: 51.66 kB / 0.722 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.2093, allocations: 8 kB / 0.722 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.2094, allocations: 55.97 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.2095, allocations: 31.89 kB / 0.7221 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/0.2096, allocations: 59.7 kB / 0.7221 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.2098, allocations: 159.4 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2098, allocations: 0 / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2098, allocations: 0 / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2099, allocations: 0 / 0.7223 GB, free: 12.03 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006448/0.2105, allocations: 365.6 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2105, allocations: 12.03 kB / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.2106, allocations: 46.73 kB / 0.7227 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/0.2116, allocations: 124.7 kB / 0.7228 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2119, allocations: 164.7 kB / 0.723 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.212, allocations: 119.1 kB / 0.7231 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.212, allocations: 8 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.2126, allocations: 165.5 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2126, allocations: 0 / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2126, allocations: 8 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2126, allocations: 0 / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.2132, allocations: 163.7 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2145, allocations: 456.8 kB / 0.7238 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.2155, allocations: 210.3 kB / 0.724 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.2158, allocations: 80.89 kB / 0.7241 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.2158, allocations: 7.984 kB / 0.7241 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2158, allocations: 42.5 kB / 0.7242 GB, free: 9.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2158, allocations: 0 / 0.7242 GB, free: 9.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.00102/0.2169, allocations: 265.3 kB / 0.7244 GB, free: 9.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2169, allocations: 55.41 kB / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2171, allocations: 137.1 kB / 0.7246 GB, free: 9.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2171, allocations: 33.7 kB / 0.7246 GB, free: 9.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.2172, allocations: 116.2 kB / 0.7247 GB, free: 9.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.2172, allocations: 15.83 kB / 0.7248 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.2173, allocations: 25.7 kB / 0.7248 GB, free: 9.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2175, allocations: 322.8 kB / 0.7251 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.2178, allocations: 71.92 kB / 0.7252 GB, free: 8.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.2181, allocations: 98.44 kB / 0.7253 GB, free: 8.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.2187, allocations: 166.4 kB / 0.7254 GB, free: 8.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2187, allocations: 0 / 0.7254 GB, free: 8.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006648/0.2193, allocations: 209.4 kB / 0.7256 GB, free: 8.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2194, allocations: 4 kB / 0.7256 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2194, allocations: 3.984 kB / 0.7256 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2194, allocations: 4 kB / 0.7256 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.2197, allocations: 35.95 kB / 0.7257 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.2197, allocations: 4 kB / 0.7257 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2199, allocations: 19.97 kB / 0.7257 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2199, allocations: 0 / 0.7257 GB, free: 8.305 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001238/0.22, allocations: 133.7 kB / 0.7258 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.22, allocations: 11.94 kB / 0.7258 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.2208, allocations: 202.2 kB / 0.726 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2208, allocations: 0 / 0.726 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2208, allocations: 0 / 0.726 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2208, allocations: 4 kB / 0.726 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.221, allocations: 213.7 kB / 0.7262 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.221, allocations: 0 / 0.7262 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.2213, allocations: 35.95 kB / 0.7263 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2213, allocations: 0 / 0.7263 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2213, allocations: 4 kB / 0.7263 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2213, allocations: 7.938 kB / 0.7263 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2213, allocations: 0 / 0.7263 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.222, allocations: 287.3 kB / 0.7265 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.222, allocations: 11.89 kB / 0.7266 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2221, allocations: 0 / 0.7266 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.2224, allocations: 35.94 kB / 0.7266 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.2224, allocations: 4 kB / 0.7266 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2224, allocations: 7.984 kB / 0.7266 GB, free: 7.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.2225, allocations: 107.2 kB / 0.7267 GB, free: 7.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2225, allocations: 0 / 0.7267 GB, free: 7.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000271/0.2228, allocations: 27.95 kB / 0.7267 GB, free: 7.16 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 (6): * Single equations (assignments): 6 * 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.001055/0.2238, allocations: 0.8215 MB / 0.7275 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00067/0.2245, allocations: 167.7 kB / 0.7277 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2245, allocations: 0 / 0.7277 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.2248, allocations: 76.05 kB / 0.7278 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2251, allocations: 13.86 kB / 0.7278 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.2283, allocations: 1.848 MB / 0.7296 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.2287, allocations: 0.7002 MB / 0.7303 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.166e-05/0.2288, allocations: 16 kB / 0.7303 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.2289, allocations: 31.42 kB / 0.7303 GB, free: 3.352 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2289, allocations: 0 / 0.7303 GB, free: 3.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.26, allocations: 2.969 MB / 0.7332 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.35, allocations: 6.578 kB / 0.7332 GB, free: 0.5117 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.18279472598806] Failed to read output from testmodel.py, exit status != 0: 11.460483393864706 11.488929509 11.273716316 Calling exit ...