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.001243/0.001243, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001513/0.001513, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.02 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.002462/0.002462, allocations: 293.5 kB / 312.7 MB, free: 2.895 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.174/1.174, allocations: 180.6 MB / 0.537 GB, free: 13.03 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.002869/0.002869, allocations: 104.6 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1826, allocations: 95.39 MB / 0.8328 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002184/0.1848, allocations: 0.5922 MB / 0.8334 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1866, allocations: 1.176 MB / 0.8345 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1866, allocations: 0 / 0.8345 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1866, allocations: 8 kB / 0.8345 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1868, allocations: 15.92 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.546e-06/0.1868, allocations: 3.938 kB / 0.8345 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.755e-05/0.1869, allocations: 4 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.1869, allocations: 3.984 kB / 0.8345 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.1869, allocations: 3.984 kB / 0.8345 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.187, allocations: 4 kB / 0.8345 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.675e-06/0.187, allocations: 3.938 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1871, allocations: 19.98 kB / 0.8346 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1871, allocations: 3.938 kB / 0.8346 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.1871, allocations: 7.984 kB / 0.8346 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.1872, allocations: 16.2 kB / 0.8346 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1872, allocations: 0 / 0.8346 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1872, allocations: 3.938 kB / 0.8346 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1872, allocations: 0 / 0.8346 GB, free: 6.762 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.0003403/0.1875, allocations: 242.4 kB / 0.8348 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1876, allocations: 13.94 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.1876, allocations: 30.75 kB / 0.8349 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1876, allocations: 0.9375 kB / 0.8349 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.1877, allocations: 102.5 kB / 0.835 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1877, allocations: 8.312 kB / 0.835 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1878, allocations: 8.375 kB / 0.835 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1879, allocations: 37.81 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1879, allocations: 0 / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1879, allocations: 0 / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1879, allocations: 0 / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.188, allocations: 7.938 kB / 0.835 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1881, allocations: 124.8 kB / 0.8352 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1883, allocations: 38.61 kB / 0.8352 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.1883, allocations: 4.859 kB / 0.8352 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.1885, allocations: 4 kB / 0.8352 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1885, allocations: 42.59 kB / 0.8352 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1885, allocations: 0 / 0.8352 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004372/0.1929, allocations: 0.5754 MB / 0.8358 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1929, allocations: 55.39 kB / 0.8359 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.193, allocations: 89.86 kB / 0.8359 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.193, allocations: 25.7 kB / 0.836 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.193, allocations: 88.08 kB / 0.836 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1931, allocations: 11.84 kB / 0.8361 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1931, allocations: 21.7 kB / 0.8361 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1933, allocations: 314.8 kB / 0.8364 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.1939, allocations: 83.95 kB / 0.8365 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.1945, allocations: 102.5 kB / 0.8366 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1957, allocations: 194.4 kB / 0.8367 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.1957, allocations: 3.938 kB / 0.8367 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001254/0.1969, allocations: 217.5 kB / 0.837 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1969, allocations: 4 kB / 0.837 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1969, allocations: 0 / 0.837 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.197, allocations: 4 kB / 0.837 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.1974, allocations: 48.19 kB / 0.837 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1974, allocations: 8 kB / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.1977, allocations: 35.98 kB / 0.837 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1977, allocations: 7.984 kB / 0.8371 GB, free: 4.039 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.0001075/0.1978, allocations: 114.5 kB / 0.8372 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1979, allocations: 7.938 kB / 0.8372 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.1992, allocations: 233.1 kB / 0.8374 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1992, allocations: 3.938 kB / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1992, allocations: 0 / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1992, allocations: 4 kB / 0.8374 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2007, allocations: 433.5 kB / 0.8378 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2007, allocations: 0 / 0.8378 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.2011, allocations: 51.91 kB / 0.8379 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2011, allocations: 0 / 0.8379 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2012, allocations: 0 / 0.8379 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2012, allocations: 4 kB / 0.8379 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2012, allocations: 0 / 0.8379 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.2025, allocations: 307.4 kB / 0.8382 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.2025, allocations: 8 kB / 0.8382 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.2025, allocations: 0 / 0.8382 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.2029, allocations: 43.97 kB / 0.8382 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.2029, allocations: 0 / 0.8382 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2029, allocations: 3.984 kB / 0.8382 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.2029, allocations: 75.28 kB / 0.8383 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2029, allocations: 0 / 0.8383 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002459/0.2032, allocations: 16 kB / 0.8383 GB, free: 2.676 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.001647/0.2048, allocations: 0.8375 MB / 0.8391 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.2061, allocations: 175.8 kB / 0.8393 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2061, allocations: 8.188 kB / 0.8393 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.2067, allocations: 87.94 kB / 0.8394 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2069, allocations: 11.88 kB / 0.8394 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2082, allocations: 242.6 kB / 0.8396 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2085, allocations: 0.6768 MB / 0.8403 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.2087, allocations: 35.92 kB / 0.8403 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.2088, allocations: 11.44 kB / 0.8403 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2088, allocations: 0 / 0.8403 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2373, allocations: 1.757 MB / 0.842 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.61, allocations: 15.38 kB / 0.8421 GB, free: 14.88 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 14.896014519003074] Failed to read output from testmodel.py, exit status != 0: 10.714048943002126 10.731914206 10.541607735 Calling exit ...