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.001476/0.001476, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00194/0.00194, allocations: 215.3 kB / 23.04 MB, free: 5.078 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002621/0.002621, allocations: 286.6 kB / 313.5 MB, free: 2.801 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",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.00281/0.00281, allocations: 103.8 kB / 0.7404 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1753, allocations: 95.38 MB / 0.8335 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001675/0.177, allocations: 0.6017 MB / 0.8341 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1784, allocations: 1.177 MB / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1785, allocations: 0 / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.1785, allocations: 0 / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1787, allocations: 23.91 kB / 0.8353 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1787, allocations: 0 / 0.8353 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.839e-05/0.1787, allocations: 3.938 kB / 0.8353 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.1788, allocations: 4 kB / 0.8353 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.1788, allocations: 0 / 0.8353 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.1788, allocations: 4 kB / 0.8353 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1788, allocations: 0 / 0.8353 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1789, allocations: 23.97 kB / 0.8353 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1789, allocations: 11.86 kB / 0.8353 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.179, allocations: 4 kB / 0.8353 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.515e-05/0.179, allocations: 12.2 kB / 0.8354 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.179, allocations: 0 / 0.8354 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.179, allocations: 0 / 0.8354 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.179, allocations: 0 / 0.8354 GB, free: 6.707 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.0002585/0.1793, allocations: 238.4 kB / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1793, allocations: 17.94 kB / 0.8356 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.198e-05/0.1794, allocations: 192 / 0.8356 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.1794, allocations: 34.73 kB / 0.8356 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.1794, allocations: 4.875 kB / 0.8356 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.1795, allocations: 110.5 kB / 0.8357 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-06/0.1795, allocations: 384 / 0.8357 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1795, allocations: 384 / 0.8357 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1796, allocations: 41.56 kB / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1796, allocations: 0 / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1796, allocations: 4 kB / 0.8358 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1796, allocations: 4 kB / 0.8358 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.1797, allocations: 8 kB / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.1798, allocations: 120.8 kB / 0.8359 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.18, allocations: 26.58 kB / 0.8359 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.18, allocations: 16.94 kB / 0.836 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1801, allocations: 11.88 kB / 0.836 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1801, allocations: 38.5 kB / 0.836 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1802, allocations: 0 / 0.836 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004179/0.1843, allocations: 0.5754 MB / 0.8366 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1844, allocations: 51.41 kB / 0.8366 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.23e-05/0.1844, allocations: 89.86 kB / 0.8367 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1844, allocations: 25.7 kB / 0.8367 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.1845, allocations: 80.14 kB / 0.8368 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.1845, allocations: 27.83 kB / 0.8368 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1846, allocations: 13.72 kB / 0.8368 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1847, allocations: 318.8 kB / 0.8371 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.1853, allocations: 83.95 kB / 0.8372 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.1859, allocations: 98.53 kB / 0.8373 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.187, allocations: 190.4 kB / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.187, allocations: 0 / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001296/0.1883, allocations: 221.5 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1884, allocations: 8 kB / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1884, allocations: 432 / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1884, allocations: 0 / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.1888, allocations: 52 kB / 0.8378 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1888, allocations: 0 / 0.8378 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.1891, allocations: 39.98 kB / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1891, allocations: 0 / 0.8378 GB, free: 3.988 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.0001044/0.1892, allocations: 122.4 kB / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.1893, allocations: 7.875 kB / 0.8379 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.1906, allocations: 249.3 kB / 0.8382 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1906, allocations: 0 / 0.8382 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1906, allocations: 0 / 0.8382 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1906, allocations: 0 / 0.8382 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.1922, allocations: 429.4 kB / 0.8386 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1922, allocations: 0 / 0.8386 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.1926, allocations: 51.97 kB / 0.8386 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1926, allocations: 0 / 0.8386 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1926, allocations: 4 kB / 0.8386 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1926, allocations: 4 kB / 0.8386 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1926, allocations: 0 / 0.8386 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1939, allocations: 307.3 kB / 0.8389 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.1939, allocations: 4 kB / 0.8389 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1939, allocations: 0 / 0.8389 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.1943, allocations: 43.97 kB / 0.839 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1943, allocations: 0 / 0.839 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1943, allocations: 8 kB / 0.839 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.1944, allocations: 79.28 kB / 0.8391 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1944, allocations: 3.938 kB / 0.8391 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002507/0.1946, allocations: 11.94 kB / 0.8391 GB, free: 2.605 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.001737/0.1963, allocations: 0.8374 MB / 0.8399 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.1976, allocations: 175.9 kB / 0.8401 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1976, allocations: 0 / 0.8401 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.1982, allocations: 92.31 kB / 0.8402 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1985, allocations: 14.5 kB / 0.8402 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1998, allocations: 238.7 kB / 0.8404 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2002, allocations: 0.6807 MB / 0.8411 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.2003, allocations: 24 kB / 0.8411 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.2004, allocations: 15.44 kB / 0.8411 GB, free: 456 kB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.2004, allocations: 0 / 0.8411 GB, free: 456 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2214, allocations: 1.785 MB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.99, allocations: 18.03 kB / 0.8429 GB, free: 14.8 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.258398086996749] Failed to read output from testmodel.py, exit status != 0: 11.139834543981124 11.155763712 10.973710004 Calling exit ...