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.001175/0.001175, allocations: 109 kB / 20.48 MB, free: 1.473 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.001327/0.001327, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.495/1.495, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9671/0.9671, allocations: 150 MB / 464 MB, free: 10.55 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.001972/0.001972, allocations: 61.06 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 89.18 MB / 0.7292 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001876/0.1836, allocations: 0.5973 MB / 0.7297 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1853, allocations: 1.167 MB / 0.7309 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.1853, allocations: 0 / 0.7309 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.1854, allocations: 3.938 kB / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1856, allocations: 19.92 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.1856, allocations: 4 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.092e-05/0.1857, allocations: 3.984 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1857, allocations: 0 / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.1857, allocations: 4 kB / 0.7309 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.922e-05/0.1857, allocations: 4 kB / 0.7309 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-06/0.1857, allocations: 3.938 kB / 0.7309 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1859, allocations: 27.91 kB / 0.7309 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.1859, allocations: 0 / 0.7309 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.288e-05/0.1859, allocations: 0 / 0.7309 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.015e-05/0.186, allocations: 12.27 kB / 0.731 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.186, allocations: 0 / 0.731 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.186, allocations: 0 / 0.731 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.186, allocations: 0 / 0.731 GB, free: 15.43 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.0002717/0.1862, allocations: 242.4 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1863, allocations: 16.03 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.185e-05/0.1863, allocations: 4.125 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1863, allocations: 30.75 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.1866, allocations: 16.91 kB / 0.7313 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.1867, allocations: 110.4 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1867, allocations: 8.375 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1867, allocations: 384 / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1868, allocations: 37.62 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1868, allocations: 0 / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1868, allocations: 4 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1868, allocations: 0 / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.1869, allocations: 15.98 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.187, allocations: 124.7 kB / 0.7315 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1872, allocations: 38.55 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.1872, allocations: 8.859 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1872, allocations: 7.922 kB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1873, allocations: 38.56 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1873, allocations: 0 / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004023/0.1913, allocations: 0.5443 MB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1913, allocations: 51.41 kB / 0.7322 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.1914, allocations: 89.86 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1914, allocations: 25.7 kB / 0.7323 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1915, allocations: 80.14 kB / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1915, allocations: 19.8 kB / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.1916, allocations: 21.7 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1917, allocations: 318.8 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.1923, allocations: 79.95 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.1929, allocations: 106.5 kB / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.1942, allocations: 190.5 kB / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1942, allocations: 0 / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001307/0.1955, allocations: 217.5 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1955, allocations: 8 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1955, allocations: 0 / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1956, allocations: 432 / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.196, allocations: 55.94 kB / 0.7334 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.196, allocations: 0 / 0.7334 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.1964, allocations: 43.97 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1964, allocations: 3.938 kB / 0.7334 GB, free: 12.7 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.0001364/0.1965, allocations: 117.8 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1965, allocations: 3.938 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/0.1966, allocations: 11.58 kB / 0.7335 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1966, allocations: 4 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1966, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1966, allocations: 3.984 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.1983, allocations: 425.5 kB / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1983, allocations: 4 kB / 0.734 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.1986, allocations: 47.97 kB / 0.734 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1987, allocations: 4 kB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1987, allocations: 4.25 kB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1987, allocations: 0 / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1987, allocations: 8 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2, allocations: 303.3 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.2, allocations: 7.938 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2, allocations: 0 / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.2004, allocations: 47.91 kB / 0.7344 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.2004, allocations: 4 kB / 0.7344 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2004, allocations: 0 / 0.7344 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.2005, allocations: 83.28 kB / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2005, allocations: 0 / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002514/0.2007, allocations: 11.94 kB / 0.7345 GB, free: 11.55 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.001798/0.2025, allocations: 0.8335 MB / 0.7353 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.2038, allocations: 179.9 kB / 0.7354 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2038, allocations: 0 / 0.7354 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.2044, allocations: 88.08 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2046, allocations: 6.562 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.206, allocations: 254.4 kB / 0.7358 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.2064, allocations: 0.6768 MB / 0.7364 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.2066, allocations: 28 kB / 0.7365 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.2066, allocations: 15.44 kB / 0.7365 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.2066, allocations: 0 / 0.7365 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.2271, allocations: 1.737 MB / 0.7382 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.39, allocations: 2.234 kB / 0.7382 GB, free: 7.812 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.223964478005655] Failed to read output from testmodel.py, exit status != 0: 11.552268655970693 11.568442741 11.379349154 Calling exit ...