Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001533/0.001533, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001546/0.001546, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9082/0.9082, allocations: 145 MB / 458.2 MB, free: 15.28 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.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.002001/0.002001, allocations: 66.3 kB / 0.6339 GB, free: 6.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1871, allocations: 87.88 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002972/0.1901, allocations: 1.456 MB / 0.7211 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000936/0.191, allocations: 479.8 kB / 0.7216 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.191, allocations: 0 / 0.7216 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.1911, allocations: 3.938 kB / 0.7216 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.1911, allocations: 7.938 kB / 0.7216 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.1913, allocations: 19.92 kB / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.1914, allocations: 23.98 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.1915, allocations: 3.984 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.1916, allocations: 15.88 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.1916, allocations: 11.98 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1916, allocations: 4 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.1917, allocations: 15.98 kB / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1917, allocations: 3.938 kB / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.1917, allocations: 8 kB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1919, allocations: 43.81 kB / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1919, allocations: 0 / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1919, allocations: 0 / 0.7217 GB, free: 12.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1919, allocations: 4 kB / 0.7217 GB, free: 12.75 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.000456/0.1923, allocations: 264.5 kB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1924, allocations: 12.03 kB / 0.722 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.499e-05/0.1924, allocations: 4.125 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1924, allocations: 30.75 kB / 0.722 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.1924, allocations: 4.938 kB / 0.722 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1926, allocations: 102.5 kB / 0.7221 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1926, allocations: 8.312 kB / 0.7221 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1926, allocations: 4.375 kB / 0.7221 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1928, allocations: 53.61 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1928, allocations: 7.938 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1928, allocations: 0 / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1928, allocations: 0 / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.193, allocations: 35.95 kB / 0.7222 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.1933, allocations: 227.9 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1935, allocations: 38.56 kB / 0.7225 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.1936, allocations: 20.91 kB / 0.7225 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.1937, allocations: 7.984 kB / 0.7225 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1937, allocations: 34.56 kB / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1937, allocations: 0 / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.1941, allocations: 81.7 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1941, allocations: 55.41 kB / 0.7227 GB, free: 11.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1942, allocations: 101.9 kB / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1942, allocations: 25.7 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.1943, allocations: 88.12 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1943, allocations: 3.953 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1944, allocations: 13.72 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1945, allocations: 318.8 kB / 0.7232 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.1946, allocations: 15.98 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.1947, allocations: 23.97 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1948, allocations: 36.83 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1948, allocations: 0 / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.195, allocations: 69.59 kB / 0.7233 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.195, allocations: 4 kB / 0.7233 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.195, allocations: 0 / 0.7233 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.195, allocations: 8.078 kB / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1951, allocations: 11.98 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1951, allocations: 0 / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1952, allocations: 4 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1952, allocations: 0 / 0.7234 GB, free: 10.88 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.812e-05/0.1953, allocations: 125.8 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1953, allocations: 3.953 kB / 0.7235 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.1955, allocations: 80.84 kB / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1955, allocations: 4.031 kB / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1956, allocations: 0 / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1956, allocations: 0 / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.1957, allocations: 132.6 kB / 0.7237 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1957, allocations: 0 / 0.7237 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.1958, allocations: 11.98 kB / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1958, allocations: 0 / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1958, allocations: 0 / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1958, allocations: 256 / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1958, allocations: 3.938 kB / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1961, allocations: 175.5 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.1961, allocations: 0 / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1961, allocations: 3.938 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.1962, allocations: 7.984 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1962, allocations: 4 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1962, allocations: 0 / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.1963, allocations: 83.28 kB / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1963, allocations: 0 / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000226/0.1965, allocations: 8.016 kB / 0.724 GB, free: 10.17 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.0006204/0.1971, allocations: 0.7052 MB / 0.7247 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.1973, allocations: 35.91 kB / 0.7247 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1973, allocations: 0 / 0.7247 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.1974, allocations: 28.06 kB / 0.7247 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1977, allocations: 4 kB / 0.7247 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1982, allocations: 143.1 kB / 0.7249 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.288e-05/0.1982, allocations: 63.34 kB / 0.7249 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.1983, allocations: 0 / 0.7249 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1983, allocations: 11.44 kB / 0.7249 GB, free: 9.094 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1983, allocations: 0 / 0.7249 GB, free: 9.094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.2217, allocations: 1.636 MB / 0.7265 GB, free: 7.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.45, allocations: 18.52 kB / 0.7266 GB, free: 7.609 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.265144114964642] Failed to read output from testmodel.py, exit status != 0: 11.64587795699481 11.661953717 11.466928638 Calling exit ...