Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001323/0.001323, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001523/0.001523, allocations: 213 kB / 22.24 MB, free: 4.855 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003145/0.003145, allocations: 284.9 kB / 312.7 MB, free: 2.707 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.256/1.256, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002895/0.002895, allocations: 101.8 kB / 0.7395 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1813, allocations: 95.38 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001856/0.1831, allocations: 0.6038 MB / 0.8333 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1847, allocations: 1.126 MB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.1847, allocations: 3.938 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.1847, allocations: 4 kB / 0.8344 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1849, allocations: 15.92 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.1849, allocations: 0 / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.059e-05/0.185, allocations: 8 kB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.185, allocations: 0 / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.185, allocations: 3.984 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.1851, allocations: 7.938 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.1851, allocations: 0 / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.1852, allocations: 15.92 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.1852, allocations: 0 / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.027e-05/0.1852, allocations: 3.938 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.185e-05/0.1853, allocations: 24.19 kB / 0.8345 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1853, allocations: 11.94 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1853, allocations: 0 / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1853, allocations: 0 / 0.8345 GB, free: 6.43 MB / 0.5762 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.0002827/0.1856, allocations: 242.4 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1856, allocations: 13.34 kB / 0.8347 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.1856, allocations: 34.73 kB / 0.8347 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.1857, allocations: 0.9375 kB / 0.8347 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1858, allocations: 106.5 kB / 0.8348 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1858, allocations: 384 / 0.8348 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1858, allocations: 8.359 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.1859, allocations: 41.81 kB / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1859, allocations: 4 kB / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1859, allocations: 0 / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1859, allocations: 0 / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.1859, allocations: 4 kB / 0.8349 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1862, allocations: 124.8 kB / 0.835 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1864, allocations: 34.52 kB / 0.8351 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.1864, allocations: 12.94 kB / 0.8351 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.1865, allocations: 4 kB / 0.8351 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1865, allocations: 34.5 kB / 0.8351 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1865, allocations: 0 / 0.8351 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004227/0.1908, allocations: 0.5715 MB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1908, allocations: 55.41 kB / 0.8357 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.1909, allocations: 89.86 kB / 0.8358 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1909, allocations: 29.7 kB / 0.8358 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.191, allocations: 80.14 kB / 0.8359 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.191, allocations: 19.83 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.1911, allocations: 17.72 kB / 0.8359 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1912, allocations: 310.8 kB / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.1918, allocations: 87.95 kB / 0.8363 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.1924, allocations: 106.5 kB / 0.8364 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1935, allocations: 190.5 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1935, allocations: 0 / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001346/0.1949, allocations: 213.5 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1949, allocations: 4 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1949, allocations: 3.938 kB / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1949, allocations: 7.984 kB / 0.8368 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.1953, allocations: 51.94 kB / 0.8369 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1953, allocations: 4 kB / 0.8369 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.1957, allocations: 43.92 kB / 0.8369 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1957, allocations: 4 kB / 0.8369 GB, free: 3.707 MB / 0.5762 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.0001112/0.1958, allocations: 106.5 kB / 0.837 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1958, allocations: 7.938 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.1972, allocations: 245.3 kB / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1972, allocations: 0 / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1972, allocations: 0 / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1973, allocations: 7.938 kB / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1989, allocations: 421.5 kB / 0.8377 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1989, allocations: 0 / 0.8377 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.1993, allocations: 47.97 kB / 0.8377 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.1993, allocations: 432 / 0.8377 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1993, allocations: 4 kB / 0.8377 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1993, allocations: 4 kB / 0.8377 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1993, allocations: 3.938 kB / 0.8377 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2007, allocations: 303.4 kB / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.2007, allocations: 0 / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.2007, allocations: 7.984 kB / 0.838 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.2011, allocations: 43.97 kB / 0.8381 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.2011, allocations: 0 / 0.8381 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2011, allocations: 4 kB / 0.8381 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.2011, allocations: 75.28 kB / 0.8381 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2011, allocations: 0 / 0.8381 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002542/0.2014, allocations: 8 kB / 0.8382 GB, free: 2.359 MB / 0.5762 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.001692/0.2031, allocations: 0.8509 MB / 0.839 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.2043, allocations: 172 kB / 0.8391 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2043, allocations: 0 / 0.8391 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.2049, allocations: 96.27 kB / 0.8392 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2051, allocations: 6.516 kB / 0.8392 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2065, allocations: 250.5 kB / 0.8395 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.421e-05/0.2065, allocations: 59.3 kB / 0.8395 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.2067, allocations: 27.98 kB / 0.8396 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.2068, allocations: 15.44 kB / 0.8396 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.2068, allocations: 0 / 0.8396 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.2375, allocations: 2.166 MB / 0.8417 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 3.828 kB / 0.8417 GB, free: 14.79 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.360915930010378] Failed to read output from testmodel.py, exit status != 0: 11.327947422862053 11.346609546 11.157880895 Calling exit ...