Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001263/0.001263, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001414/0.001414, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.8306/0.8306, allocations: 134 MB / 442.8 MB, free: 11.3 MB / 350.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.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(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001914/0.001914, allocations: 65.94 kB / 0.6135 GB, free: 8.684 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1671, allocations: 85.85 MB / 0.6973 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001777/0.1689, allocations: 0.5707 MB / 0.6979 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1706, allocations: 1.327 MB / 0.6992 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.1706, allocations: 7.938 kB / 0.6992 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1706, allocations: 0 / 0.6992 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.1706, allocations: 0 / 0.6992 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.171, allocations: 67.69 kB / 0.6992 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.363e-05/0.171, allocations: 4 kB / 0.6992 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.1711, allocations: 3.984 kB / 0.6992 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.1711, allocations: 7.984 kB / 0.6992 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.1711, allocations: 0 / 0.6992 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.1712, allocations: 4 kB / 0.6993 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.1714, allocations: 111.9 kB / 0.6994 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1714, allocations: 0 / 0.6994 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.1715, allocations: 0 / 0.6994 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1716, allocations: 52.16 kB / 0.6994 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1716, allocations: 4 kB / 0.6994 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1716, allocations: 0 / 0.6994 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1716, allocations: 0 / 0.6994 GB, free: 0.7344 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000351/0.172, allocations: 327.3 kB / 0.6997 GB, free: 376 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.172, allocations: 13.11 kB / 0.6997 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.172, allocations: 38.75 kB / 0.6998 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.1721, allocations: 0.9375 kB / 0.6998 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1722, allocations: 164.4 kB / 0.6999 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1722, allocations: 4.312 kB / 0.6999 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1722, allocations: 384 / 0.6999 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.1723, allocations: 33.83 kB / 0.7 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1723, allocations: 3.984 kB / 0.7 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1723, allocations: 0 / 0.7 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1723, allocations: 0 / 0.7 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.1723, allocations: 0 / 0.7 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1725, allocations: 153.7 kB / 0.7001 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.1725, allocations: 22.5 kB / 0.7001 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.1725, allocations: 8.953 kB / 0.7001 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.1731, allocations: 0.5583 MB / 0.7007 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1731, allocations: 42.5 kB / 0.7007 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1731, allocations: 0 / 0.7007 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.1733, allocations: 37.64 kB / 0.7008 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1733, allocations: 51.41 kB / 0.7008 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.178e-05/0.1734, allocations: 89.86 kB / 0.7009 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1734, allocations: 25.7 kB / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.1734, allocations: 84.14 kB / 0.701 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1734, allocations: 0 / 0.701 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1735, allocations: 17.84 kB / 0.701 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1736, allocations: 318.7 kB / 0.7013 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.1736, allocations: 4 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1736, allocations: 0 / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.1736, allocations: 8.859 kB / 0.7013 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1736, allocations: 3.984 kB / 0.7013 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.2e-05/0.1737, allocations: 29.7 kB / 0.7014 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1737, allocations: 8.031 kB / 0.7014 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1737, allocations: 8 kB / 0.7014 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1737, allocations: 0 / 0.7014 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.896e-05/0.1738, allocations: 3.938 kB / 0.7014 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1738, allocations: 0 / 0.7014 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.1738, allocations: 3.938 kB / 0.7014 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1738, allocations: 8 kB / 0.7014 GB, free: 14.33 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.78e-05/0.1739, allocations: 105.8 kB / 0.7015 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1739, allocations: 7.922 kB / 0.7015 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/0.174, allocations: 36.83 kB / 0.7015 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.174, allocations: 0 / 0.7015 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.174, allocations: 4 kB / 0.7016 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.174, allocations: 0 / 0.7016 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1741, allocations: 153.6 kB / 0.7017 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1741, allocations: 0 / 0.7017 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.1741, allocations: 4 kB / 0.7017 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1741, allocations: 3.938 kB / 0.7017 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.1741, allocations: 0 / 0.7017 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1741, allocations: 4.031 kB / 0.7017 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1741, allocations: 0 / 0.7017 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.1742, allocations: 61.06 kB / 0.7018 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.1742, allocations: 81.05 kB / 0.7018 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1742, allocations: 4 kB / 0.7019 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.1742, allocations: 0 / 0.7019 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-06/0.1742, allocations: 0 / 0.7019 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1742, allocations: 8.031 kB / 0.7019 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.1743, allocations: 75.28 kB / 0.7019 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1743, allocations: 4 kB / 0.7019 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001951/0.1745, allocations: 4 kB / 0.7019 GB, free: 13.68 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0004505/0.1749, allocations: 0.6162 MB / 0.7025 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.175, allocations: 8.031 kB / 0.7025 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.175, allocations: 0 / 0.7025 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.175, allocations: 4 kB / 0.7026 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.1751, allocations: 5.969 kB / 0.7026 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.1754, allocations: 118.7 kB / 0.7027 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1757, allocations: 0.6727 MB / 0.7033 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.1757, allocations: 8.125 kB / 0.7033 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.1758, allocations: 7.438 kB / 0.7033 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1758, allocations: 0 / 0.7033 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1975, allocations: 1.124 MB / 0.7044 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.879, allocations: 6.406 kB / 0.7044 GB, free: 11.13 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.468085234999307] Failed to read output from testmodel.py, exit status != 0: 7.9469765440007905 7.97260969 7.796503635 Calling exit ...