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.001249/0.001249, 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.001507/0.001507, allocations: 220.1 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9056/0.9056, allocations: 145 MB / 458.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.003042/0.003042, allocations: 65.81 kB / 0.6339 GB, free: 7.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1894, allocations: 87.88 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003216/0.1926, allocations: 1.806 MB / 0.7215 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.194, allocations: 0.7572 MB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.1941, allocations: 0 / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/0.1941, allocations: 11.86 kB / 0.7223 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.1942, allocations: 19.8 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.1948, allocations: 178.3 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.195, allocations: 135.6 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1952, allocations: 33.62 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1954, allocations: 63.77 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1955, allocations: 55.7 kB / 0.7227 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1955, allocations: 8 kB / 0.7228 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1956, allocations: 59.95 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.1957, allocations: 27.91 kB / 0.7228 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.1957, allocations: 55.72 kB / 0.7229 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.196, allocations: 163.3 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.196, allocations: 0 / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.196, allocations: 0 / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.196, allocations: 0 / 0.723 GB, free: 12.04 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.0006276/0.1966, allocations: 361.7 kB / 0.7234 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1967, allocations: 15.97 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.646e-05/0.1967, allocations: 8.188 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.1967, allocations: 38.75 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.1977, allocations: 132.6 kB / 0.7236 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1981, allocations: 160.7 kB / 0.7237 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.1982, allocations: 122.9 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.1982, allocations: 8 kB / 0.7239 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.1988, allocations: 161.5 kB / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1988, allocations: 0 / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1988, allocations: 4 kB / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1988, allocations: 4 kB / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/0.1995, allocations: 169.7 kB / 0.7242 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2006, allocations: 456.7 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2016, allocations: 214.3 kB / 0.7248 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.2019, allocations: 72.91 kB / 0.7249 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.202, allocations: 19.91 kB / 0.7249 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.202, allocations: 30.56 kB / 0.7249 GB, free: 9.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.202, allocations: 0 / 0.7249 GB, free: 9.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001086/0.2031, allocations: 265.3 kB / 0.7252 GB, free: 9.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2031, allocations: 55.39 kB / 0.7252 GB, free: 9.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2033, allocations: 145.2 kB / 0.7254 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2033, allocations: 29.7 kB / 0.7254 GB, free: 9.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.2034, allocations: 112.2 kB / 0.7255 GB, free: 9.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2034, allocations: 23.78 kB / 0.7255 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.2035, allocations: 29.7 kB / 0.7256 GB, free: 9.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2036, allocations: 314.8 kB / 0.7259 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.204, allocations: 79.91 kB / 0.7259 GB, free: 8.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.2043, allocations: 90.5 kB / 0.726 GB, free: 8.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.2049, allocations: 162.4 kB / 0.7262 GB, free: 8.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2049, allocations: 3.938 kB / 0.7262 GB, free: 8.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000692/0.2056, allocations: 205.4 kB / 0.7264 GB, free: 8.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2056, allocations: 8 kB / 0.7264 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2056, allocations: 0 / 0.7264 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2056, allocations: 0 / 0.7264 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.2059, allocations: 44.25 kB / 0.7264 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2059, allocations: 0 / 0.7264 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2061, allocations: 27.97 kB / 0.7265 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2061, allocations: 4 kB / 0.7265 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.0001168/0.2062, allocations: 121.7 kB / 0.7266 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.2063, allocations: 11.94 kB / 0.7266 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007607/0.2071, allocations: 202.2 kB / 0.7268 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2071, allocations: 4 kB / 0.7268 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2071, allocations: 0 / 0.7268 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2071, allocations: 0 / 0.7268 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.2073, allocations: 217.3 kB / 0.727 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2073, allocations: 0 / 0.727 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.2076, allocations: 35.89 kB / 0.727 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2076, allocations: 4 kB / 0.727 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2076, allocations: 8 kB / 0.727 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2076, allocations: 0 / 0.727 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2076, allocations: 0 / 0.727 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.2083, allocations: 287.3 kB / 0.7273 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2084, allocations: 11.89 kB / 0.7273 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2084, allocations: 0 / 0.7273 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.2087, allocations: 35.89 kB / 0.7274 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2087, allocations: 3.984 kB / 0.7274 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2087, allocations: 7.984 kB / 0.7274 GB, free: 7.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.2088, allocations: 111.2 kB / 0.7275 GB, free: 7.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2088, allocations: 4 kB / 0.7275 GB, free: 7.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002651/0.2091, allocations: 27.95 kB / 0.7275 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.001043/0.2101, allocations: 0.8099 MB / 0.7283 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.2108, allocations: 168 kB / 0.7285 GB, free: 6.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2108, allocations: 4.125 kB / 0.7285 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.2111, allocations: 75.92 kB / 0.7285 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2114, allocations: 11.94 kB / 0.7285 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.2147, allocations: 1.844 MB / 0.7303 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.215, allocations: 0.7002 MB / 0.731 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.09e-05/0.2151, allocations: 15.98 kB / 0.731 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.2152, allocations: 35.42 kB / 0.7311 GB, free: 3.359 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.2152, allocations: 4 kB / 0.7311 GB, free: 3.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2385, allocations: 2.991 MB / 0.734 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.37, allocations: 6.844 kB / 0.734 GB, free: 0.5117 MB / 0.545 GB " [Timeout remaining time 648] (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.022021988988854] Failed to read output from testmodel.py, exit status != 0: 11.533194457064383 11.558910587 11.358688855 Calling exit ...