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.001494/0.001494, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.001674/0.001674, allocations: 201.6 kB / 20.8 MB, free: 2.391 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.508/1.508, allocations: 230.6 MB / 254.2 MB, free: 15.12 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 1.001/1.001, allocations: 150 MB / 460.2 MB, free: 5.355 MB / 350.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.002933/0.002933, allocations: 77.48 kB / 0.6369 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1789, allocations: 89.13 MB / 0.7239 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001784/0.1807, allocations: 0.5926 MB / 0.7245 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1826, allocations: 1.161 MB / 0.7256 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.1826, allocations: 0 / 0.7256 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.1826, allocations: 0 / 0.7256 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1829, allocations: 19.92 kB / 0.7256 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.1829, allocations: 0 / 0.7256 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.1829, allocations: 7.938 kB / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.183, allocations: 0 / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.183, allocations: 7.938 kB / 0.7256 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.183, allocations: 11.97 kB / 0.7256 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.183, allocations: 0 / 0.7256 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1831, allocations: 23.92 kB / 0.7257 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.503e-06/0.1831, allocations: 0 / 0.7257 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.311e-05/0.1832, allocations: 0 / 0.7257 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1833, allocations: 28.06 kB / 0.7257 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1833, allocations: 4 kB / 0.7257 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1833, allocations: 0 / 0.7257 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1833, allocations: 0 / 0.7257 GB, free: 2.184 MB / 0.5294 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.0003832/0.1837, allocations: 315.5 kB / 0.726 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1837, allocations: 8.031 kB / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.376e-05/0.1837, allocations: 4.188 kB / 0.726 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1838, allocations: 38.75 kB / 0.7261 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.1841, allocations: 8.922 kB / 0.7261 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1842, allocations: 164.4 kB / 0.7262 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.1842, allocations: 384 / 0.7262 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.1843, allocations: 8.297 kB / 0.7262 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1844, allocations: 37.62 kB / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1844, allocations: 7.953 kB / 0.7263 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1844, allocations: 4 kB / 0.7263 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1844, allocations: 0 / 0.7263 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.1845, allocations: 8 kB / 0.7263 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.1847, allocations: 153.7 kB / 0.7264 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1849, allocations: 30.55 kB / 0.7265 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.185, allocations: 16.86 kB / 0.7265 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.185, allocations: 7.922 kB / 0.7265 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.185, allocations: 34.56 kB / 0.7265 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.185, allocations: 4 kB / 0.7265 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.006493/0.1915, allocations: 0.5326 MB / 0.727 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1916, allocations: 55.41 kB / 0.7271 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.1916, allocations: 89.86 kB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.1917, allocations: 25.7 kB / 0.7272 GB, free: 452 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1917, allocations: 80.14 kB / 0.7273 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.1918, allocations: 27.78 kB / 0.7273 GB, free: 340 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.1919, allocations: 17.72 kB / 0.7273 GB, free: 316 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1921, allocations: 314.8 kB / 0.7276 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.1931, allocations: 87.89 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.1941, allocations: 102.5 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.1961, allocations: 194.4 kB / 0.728 GB, free: 15.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1961, allocations: 0 / 0.728 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002209/0.1984, allocations: 217.7 kB / 0.7282 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1984, allocations: 8 kB / 0.7282 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.1984, allocations: 4 kB / 0.7282 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1984, allocations: 0 / 0.7282 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.1991, allocations: 52 kB / 0.7283 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1991, allocations: 0 / 0.7283 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.1998, allocations: 43.97 kB / 0.7283 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1998, allocations: 7.938 kB / 0.7283 GB, free: 15.27 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 0.0001321/0.1999, allocations: 117.8 kB / 0.7284 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1999, allocations: 3.938 kB / 0.7284 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.2, allocations: 11.56 kB / 0.7284 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2, allocations: 0 / 0.7284 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2, allocations: 0 / 0.7284 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2, allocations: 0 / 0.7284 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.2018, allocations: 458.4 kB / 0.7289 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2018, allocations: 4 kB / 0.7289 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.2022, allocations: 51.97 kB / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2022, allocations: 0 / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2023, allocations: 0 / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2023, allocations: 8 kB / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2023, allocations: 0 / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.2037, allocations: 307.3 kB / 0.7292 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.2038, allocations: 77.11 kB / 0.7293 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2038, allocations: 0 / 0.7293 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.2042, allocations: 43.97 kB / 0.7293 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.2042, allocations: 4 kB / 0.7293 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2042, allocations: 4 kB / 0.7293 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.2043, allocations: 79.28 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2043, allocations: 3.938 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002541/0.2045, allocations: 11.94 kB / 0.7294 GB, free: 14.01 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.001902/0.2064, allocations: 0.8336 MB / 0.7303 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.2078, allocations: 179.9 kB / 0.7304 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2078, allocations: 7.938 kB / 0.7304 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.2085, allocations: 84.08 kB / 0.7305 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2087, allocations: 10.06 kB / 0.7305 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.2102, allocations: 242.5 kB / 0.7308 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2105, allocations: 0.6845 MB / 0.7314 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.2107, allocations: 31.98 kB / 0.7314 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.2108, allocations: 15.44 kB / 0.7315 GB, free: 11.84 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2108, allocations: 3.938 kB / 0.7315 GB, free: 11.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.2288, allocations: 1.65 MB / 0.7331 GB, free: 10.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.505, allocations: 18.66 kB / 0.7331 GB, free: 10.34 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.538512192026246] Failed to read output from testmodel.py, exit status != 0: 8.649857595039066 8.664858993 8.478438568 Calling exit ...