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.001287/0.001287, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001436/0.001436, allocations: 214.4 kB / 22.25 MB, free: 5.246 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.785 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.002514/0.002514, allocations: 294.5 kB / 312.7 MB, free: 2.68 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.246/1.246, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.002941/0.002941, allocations: 97.17 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1887, allocations: 95.39 MB / 0.8327 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002119/0.1909, allocations: 0.5961 MB / 0.8333 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1927, allocations: 1.134 MB / 0.8344 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1928, allocations: 0 / 0.8344 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1928, allocations: 3.938 kB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.193, allocations: 15.92 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.987e-06/0.193, allocations: 0 / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.1931, allocations: 0 / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.1931, allocations: 15.98 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.1931, allocations: 0 / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.192e-05/0.1931, allocations: 0 / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.1932, allocations: 0 / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1933, allocations: 15.88 kB / 0.8344 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1933, allocations: 3.984 kB / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.1933, allocations: 0 / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.969e-05/0.1934, allocations: 24.2 kB / 0.8344 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1934, allocations: 0 / 0.8344 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1934, allocations: 3.938 kB / 0.8345 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1934, allocations: 0 / 0.8345 GB, free: 6.418 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.0003011/0.1937, allocations: 250.4 kB / 0.8347 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1937, allocations: 9.344 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1938, allocations: 34.75 kB / 0.8347 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.1938, allocations: 0.9375 kB / 0.8347 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1939, allocations: 110.5 kB / 0.8348 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1939, allocations: 4.359 kB / 0.8348 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1939, allocations: 4.312 kB / 0.8348 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.194, allocations: 37.64 kB / 0.8349 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1941, allocations: 0 / 0.8349 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1941, allocations: 0 / 0.8349 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1941, allocations: 4 kB / 0.8349 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.1941, allocations: 15.97 kB / 0.8349 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.1943, allocations: 116.8 kB / 0.835 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1945, allocations: 38.55 kB / 0.8351 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.1945, allocations: 8.859 kB / 0.8351 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.1946, allocations: 12.02 kB / 0.8351 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1947, allocations: 30.56 kB / 0.8351 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1947, allocations: 0 / 0.8351 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004319/0.199, allocations: 0.5793 MB / 0.8357 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.199, allocations: 55.41 kB / 0.8357 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.1991, allocations: 89.86 kB / 0.8358 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1991, allocations: 25.7 kB / 0.8358 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.1991, allocations: 80.14 kB / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.1992, allocations: 19.84 kB / 0.8359 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.1993, allocations: 21.7 kB / 0.8359 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1994, allocations: 310.8 kB / 0.8362 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.2, allocations: 83.95 kB / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.2006, allocations: 110.5 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.2018, allocations: 186.5 kB / 0.8366 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2018, allocations: 0 / 0.8366 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001256/0.2031, allocations: 217.5 kB / 0.8368 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2031, allocations: 8 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2031, allocations: 0 / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2031, allocations: 0 / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.2035, allocations: 55.94 kB / 0.8369 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.2035, allocations: 3.984 kB / 0.8369 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.2039, allocations: 43.97 kB / 0.8369 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2039, allocations: 4 kB / 0.8369 GB, free: 3.68 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.0001063/0.204, allocations: 110.5 kB / 0.837 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.204, allocations: 3.938 kB / 0.837 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.2054, allocations: 237.1 kB / 0.8373 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2054, allocations: 8 kB / 0.8373 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.2054, allocations: 3.938 kB / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2054, allocations: 0 / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.2069, allocations: 425.4 kB / 0.8377 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2069, allocations: 0 / 0.8377 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.2073, allocations: 47.97 kB / 0.8377 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.2073, allocations: 4 kB / 0.8377 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2074, allocations: 3.984 kB / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2074, allocations: 320 / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2074, allocations: 0 / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.2087, allocations: 311.3 kB / 0.838 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.2087, allocations: 3.984 kB / 0.838 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2087, allocations: 4 kB / 0.838 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.2091, allocations: 39.98 kB / 0.8381 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.2091, allocations: 7.984 kB / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2091, allocations: 0 / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.2091, allocations: 75.28 kB / 0.8382 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2091, allocations: 0 / 0.8382 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000255/0.2094, allocations: 15.94 kB / 0.8382 GB, free: 2.32 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.001709/0.2111, allocations: 0.8335 MB / 0.839 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.2124, allocations: 176 kB / 0.8391 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2124, allocations: 0 / 0.8391 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.213, allocations: 96.02 kB / 0.8392 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2132, allocations: 7.938 kB / 0.8392 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2146, allocations: 242.5 kB / 0.8395 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.854e-05/0.2146, allocations: 59.36 kB / 0.8395 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.2148, allocations: 28 kB / 0.8396 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.2149, allocations: 11.84 kB / 0.8396 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.2149, allocations: 4 kB / 0.8396 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.2463, allocations: 2.159 MB / 0.8417 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 9.25 kB / 0.8417 GB, free: 14.77 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.732800204306841] Failed to read output from testmodel.py, exit status != 0: 11.551037028897554 11.567224281 11.370724868 Calling exit ...