Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001239/0.001239, allocations: 105.8 kB / 19.73 MB, free: 2.223 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.001986/0.001986, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.9722/0.9722, allocations: 145 MB / 458.2 MB, free: 15.48 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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001974/0.001974, allocations: 66.5 kB / 0.634 GB, free: 7.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1927, allocations: 87.88 MB / 0.7198 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001677/0.1943, allocations: 0.5923 MB / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1958, allocations: 1.174 MB / 0.7215 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1959, allocations: 0 / 0.7215 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.1959, allocations: 4 kB / 0.7215 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.1961, allocations: 19.91 kB / 0.7215 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.1961, allocations: 0 / 0.7215 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.1962, allocations: 8 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.1962, allocations: 3.938 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.1962, allocations: 0 / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.1963, allocations: 7.938 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.1963, allocations: 0 / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1964, allocations: 23.95 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.201e-06/0.1964, allocations: 0 / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.1964, allocations: 7.938 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.449e-05/0.1965, allocations: 15.98 kB / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1965, allocations: 0 / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1965, allocations: 0 / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1965, allocations: 0 / 0.7216 GB, free: 13.46 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.0002777/0.1968, allocations: 238.4 kB / 0.7218 GB, free: 13.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1968, allocations: 19.95 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.35e-05/0.1968, allocations: 192 / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1969, allocations: 34.75 kB / 0.7219 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.1969, allocations: 0.9375 kB / 0.7219 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.197, allocations: 106.5 kB / 0.722 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.197, allocations: 4.375 kB / 0.722 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.197, allocations: 384 / 0.722 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1971, allocations: 41.62 kB / 0.722 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1971, allocations: 3.938 kB / 0.722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1971, allocations: 0 / 0.722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1971, allocations: 0 / 0.722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.1972, allocations: 4 kB / 0.722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1973, allocations: 128.7 kB / 0.7222 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1975, allocations: 42.59 kB / 0.7222 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.1975, allocations: 8.859 kB / 0.7222 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1976, allocations: 11.94 kB / 0.7222 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1977, allocations: 34.5 kB / 0.7223 GB, free: 12.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1977, allocations: 0 / 0.7223 GB, free: 12.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004214/0.2019, allocations: 0.5793 MB / 0.7228 GB, free: 12.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2019, allocations: 51.41 kB / 0.7229 GB, free: 12.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.389e-05/0.202, allocations: 89.86 kB / 0.723 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.202, allocations: 37.69 kB / 0.723 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.202, allocations: 80.14 kB / 0.7231 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.2021, allocations: 7.906 kB / 0.7231 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.2021, allocations: 17.72 kB / 0.7231 GB, free: 11.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2023, allocations: 322.8 kB / 0.7234 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.2029, allocations: 79.95 kB / 0.7235 GB, free: 11.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.2035, allocations: 102.5 kB / 0.7236 GB, free: 11.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2047, allocations: 194.4 kB / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2047, allocations: 0 / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001272/0.206, allocations: 213.5 kB / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.206, allocations: 4 kB / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.206, allocations: 4 kB / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.206, allocations: 0 / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.2064, allocations: 48 kB / 0.724 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2064, allocations: 4 kB / 0.724 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.2068, allocations: 43.92 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2068, allocations: 7.984 kB / 0.7241 GB, free: 10.73 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 (5): * Single equations (assignments): 5 * 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.725e-05/0.2069, allocations: 113.8 kB / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.2069, allocations: 3.938 kB / 0.7242 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.2083, allocations: 237.1 kB / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2083, allocations: 0 / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2083, allocations: 4.25 kB / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2083, allocations: 4 kB / 0.7244 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.2098, allocations: 433.4 kB / 0.7248 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2098, allocations: 0 / 0.7248 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.2102, allocations: 47.97 kB / 0.7249 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2102, allocations: 0 / 0.7249 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2103, allocations: 4 kB / 0.7249 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2103, allocations: 0 / 0.7249 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2103, allocations: 0 / 0.7249 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.2116, allocations: 307.4 kB / 0.7252 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.2116, allocations: 4 kB / 0.7252 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.2116, allocations: 3.938 kB / 0.7252 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.212, allocations: 43.97 kB / 0.7252 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.212, allocations: 0 / 0.7252 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.212, allocations: 0 / 0.7252 GB, free: 9.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.2121, allocations: 79.28 kB / 0.7253 GB, free: 9.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2121, allocations: 0 / 0.7253 GB, free: 9.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002587/0.2123, allocations: 19.86 kB / 0.7253 GB, free: 9.363 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 (5): * Single equations (assignments): 5 * 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.001678/0.214, allocations: 0.8335 MB / 0.7261 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.2153, allocations: 179.9 kB / 0.7263 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2153, allocations: 4 kB / 0.7263 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.2159, allocations: 88.06 kB / 0.7264 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2161, allocations: 4 kB / 0.7264 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2175, allocations: 254.4 kB / 0.7266 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2178, allocations: 0.6768 MB / 0.7273 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000169/0.2179, allocations: 28 kB / 0.7273 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.218, allocations: 7.438 kB / 0.7273 GB, free: 7.203 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.218, allocations: 0 / 0.7273 GB, free: 7.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.2392, allocations: 1.792 MB / 0.7291 GB, free: 5.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 12.52 kB / 0.7291 GB, free: 5.566 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.902633360004984] Failed to read output from testmodel.py, exit status != 0: 11.219263426028192 11.240909764 11.040357681 Calling exit ...