Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001303/0.001303, allocations: 104.3 kB / 20.48 MB, free: 1.383 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.001465/0.001465, allocations: 213.9 kB / 23.78 MB, free: 4.555 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 / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9696/0.9696, allocations: 150 MB / 464 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003176/0.003176, allocations: 59.38 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1906, allocations: 89.18 MB / 0.7291 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002037/0.1927, allocations: 0.5856 MB / 0.7297 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1945, allocations: 1.124 MB / 0.7308 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.1945, allocations: 8 kB / 0.7308 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.1946, allocations: 0 / 0.7308 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.1948, allocations: 15.88 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.1948, allocations: 0 / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.898e-05/0.1949, allocations: 4 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1949, allocations: 3.984 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.195, allocations: 11.98 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.195, allocations: 3.938 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.195, allocations: 0 / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1951, allocations: 11.94 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.1951, allocations: 4 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.1952, allocations: 3.984 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1953, allocations: 15.98 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1953, allocations: 0 / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1953, allocations: 0 / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.1953, allocations: 7.875 kB / 0.7308 GB, free: 15.01 MB / 0.5606 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.0003462/0.1956, allocations: 242.7 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1957, allocations: 12.03 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/0.1957, allocations: 192 / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.1957, allocations: 30.75 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.196, allocations: 20.91 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1961, allocations: 106.5 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1961, allocations: 12.31 kB / 0.7312 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.1962, allocations: 384 / 0.7312 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1963, allocations: 41.62 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1963, allocations: 0 / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1963, allocations: 0 / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1963, allocations: 0 / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.1964, allocations: 15.97 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.1966, allocations: 124.7 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1968, allocations: 34.55 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.1968, allocations: 12.86 kB / 0.7315 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1968, allocations: 3.938 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1968, allocations: 34.56 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1968, allocations: 0 / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004127/0.201, allocations: 0.5365 MB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.201, allocations: 55.39 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.2011, allocations: 89.86 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.2011, allocations: 33.7 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.2012, allocations: 80.14 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.2012, allocations: 11.86 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.2013, allocations: 21.7 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2015, allocations: 314.8 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.2021, allocations: 87.95 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.2027, allocations: 98.53 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2038, allocations: 194.4 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2038, allocations: 0 / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001268/0.2051, allocations: 217.5 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2051, allocations: 4 kB / 0.7332 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2051, allocations: 4 kB / 0.7332 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-05/0.2052, allocations: 3.938 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.2056, allocations: 52 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2056, allocations: 3.938 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.206, allocations: 47.97 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.206, allocations: 0 / 0.7333 GB, free: 12.29 MB / 0.5606 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 0.0001197/0.2061, allocations: 113.8 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.2062, allocations: 3.938 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.2062, allocations: 15.53 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2062, allocations: 4 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2062, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2063, allocations: 7.984 kB / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.2079, allocations: 421.5 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.2079, allocations: 4.234 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.2083, allocations: 47.98 kB / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.2083, allocations: 7.984 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2083, allocations: 0 / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2083, allocations: 3.984 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.2083, allocations: 4 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.2096, allocations: 307.3 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.2096, allocations: 8 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2097, allocations: 0 / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.21, allocations: 39.98 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.2101, allocations: 3.984 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2101, allocations: 7.938 kB / 0.7342 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.2101, allocations: 75.28 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2101, allocations: 0 / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002532/0.2104, allocations: 11.94 kB / 0.7343 GB, free: 11.15 MB / 0.5606 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.001672/0.212, allocations: 0.8296 MB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.2134, allocations: 183.9 kB / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2134, allocations: 0 / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006045/0.214, allocations: 92.08 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.2142, allocations: 4 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2156, allocations: 250.4 kB / 0.7356 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.2156, allocations: 59.72 kB / 0.7357 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.2158, allocations: 35.98 kB / 0.7357 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.2159, allocations: 11.44 kB / 0.7357 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.2159, allocations: 3.938 kB / 0.7357 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.2379, allocations: 1.77 MB / 0.7375 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 13.27 kB / 0.7375 GB, free: 7.98 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.384751191013493] Failed to read output from testmodel.py, exit status != 0: 11.706671760999598 11.736320407 11.53546165 Calling exit ...