Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 109.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8293/0.8293, allocations: 132.2 MB / 429.4 MB, free: 5.977 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 66.77 kB / 0.5894 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1727, allocations: 80.21 MB / 0.6677 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003328/0.176, allocations: 1.77 MB / 0.6694 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1773, allocations: 0.6632 MB / 0.6701 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.1774, allocations: 3.938 kB / 0.6701 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.1774, allocations: 19.8 kB / 0.6701 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.1775, allocations: 11.81 kB / 0.6701 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.1781, allocations: 177.1 kB / 0.6703 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1783, allocations: 119.7 kB / 0.6704 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1784, allocations: 49.38 kB / 0.6705 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1786, allocations: 51.84 kB / 0.6705 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.1787, allocations: 51.75 kB / 0.6705 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.1787, allocations: 12 kB / 0.6706 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1788, allocations: 43.97 kB / 0.6706 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.1789, allocations: 31.89 kB / 0.6706 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.179, allocations: 59.72 kB / 0.6707 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1792, allocations: 147.3 kB / 0.6708 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1792, allocations: 4 kB / 0.6708 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1792, allocations: 0 / 0.6708 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1793, allocations: 0 / 0.6708 GB, free: 6.617 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007036/0.18, allocations: 438.8 kB / 0.6713 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.18, allocations: 12.03 kB / 0.6713 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.1801, allocations: 42.67 kB / 0.6713 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/0.1809, allocations: 116.7 kB / 0.6714 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1811, allocations: 184.2 kB / 0.6716 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.1812, allocations: 67.95 kB / 0.6717 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1813, allocations: 4.375 kB / 0.6717 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.1818, allocations: 173.5 kB / 0.6718 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1818, allocations: 0 / 0.6718 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.1819, allocations: 4 kB / 0.6718 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1819, allocations: 0 / 0.6718 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.1825, allocations: 166 kB / 0.672 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1837, allocations: 485.6 kB / 0.6725 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1848, allocations: 222.2 kB / 0.6727 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.1851, allocations: 84.91 kB / 0.6727 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1851, allocations: 7.969 kB / 0.6728 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1852, allocations: 38.56 kB / 0.6728 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1852, allocations: 0 / 0.6728 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001092/0.1863, allocations: 257.4 kB / 0.673 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1863, allocations: 51.41 kB / 0.6731 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1865, allocations: 144.4 kB / 0.6732 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.1865, allocations: 25.7 kB / 0.6732 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.1866, allocations: 120.1 kB / 0.6734 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1867, allocations: 15.91 kB / 0.6734 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.1867, allocations: 21.7 kB / 0.6734 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1869, allocations: 322.8 kB / 0.6737 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.1872, allocations: 67.92 kB / 0.6738 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1876, allocations: 98.48 kB / 0.6739 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.1882, allocations: 166.7 kB / 0.674 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1882, allocations: 3.938 kB / 0.674 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007138/0.189, allocations: 205.4 kB / 0.6742 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.189, allocations: 8 kB / 0.6742 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.189, allocations: 11.88 kB / 0.6742 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.189, allocations: 0 / 0.6742 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1893, allocations: 31.95 kB / 0.6743 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1893, allocations: 4 kB / 0.6743 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.1895, allocations: 27.89 kB / 0.6743 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1896, allocations: 4 kB / 0.6743 GB, free: 2.805 MB / 0.4981 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 (8): * Single equations (assignments): 8 * 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.0001222/0.1897, allocations: 121.8 kB / 0.6744 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1897, allocations: 7.953 kB / 0.6744 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.1905, allocations: 210.1 kB / 0.6746 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1905, allocations: 0 / 0.6746 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1905, allocations: 0 / 0.6746 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1906, allocations: 4 kB / 0.6746 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1908, allocations: 234.1 kB / 0.6749 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1908, allocations: 0 / 0.6749 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.1911, allocations: 31.95 kB / 0.6749 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1911, allocations: 0 / 0.6749 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1911, allocations: 11.92 kB / 0.6749 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1911, allocations: 4 kB / 0.6749 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1911, allocations: 0 / 0.6749 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.1919, allocations: 287.4 kB / 0.6752 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1919, allocations: 89.06 kB / 0.6753 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.192, allocations: 7.875 kB / 0.6753 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.1923, allocations: 31.95 kB / 0.6753 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1923, allocations: 4 kB / 0.6753 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1924, allocations: 7.984 kB / 0.6753 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.1925, allocations: 103.2 kB / 0.6754 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1925, allocations: 4 kB / 0.6754 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000256/0.1927, allocations: 19.94 kB / 0.6754 GB, free: 1.539 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.001091/0.1938, allocations: 0.8293 MB / 0.6762 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007089/0.1945, allocations: 163.8 kB / 0.6764 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1946, allocations: 0 / 0.6764 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.1949, allocations: 83.98 kB / 0.6765 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1953, allocations: 15.98 kB / 0.6765 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1985, allocations: 1.833 MB / 0.6783 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1989, allocations: 0.704 MB / 0.679 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.634e-05/0.199, allocations: 15.98 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.1991, allocations: 31.42 kB / 0.679 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1991, allocations: 0 / 0.679 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.2249, allocations: 2.731 MB / 0.6817 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.035, allocations: 10.19 kB / 0.6817 GB, free: 11.07 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.776392959989607] Failed to read output from testmodel.py, exit status != 0: 8.104581790976226 8.131525272 7.947811563 Calling exit ...