Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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.001405/0.001405, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001478/0.001478, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.825/0.825, allocations: 133.9 MB / 442.8 MB, free: 11.31 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.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",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.001926/0.001926, allocations: 70.5 kB / 0.6134 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1697, allocations: 85.85 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002744/0.1724, allocations: 1.517 MB / 0.6987 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1737, allocations: 0.7409 MB / 0.6995 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.1737, allocations: 3.938 kB / 0.6995 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.1738, allocations: 3.938 kB / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.1738, allocations: 3.938 kB / 0.6995 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1742, allocations: 95.66 kB / 0.6996 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1743, allocations: 39.86 kB / 0.6996 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.1744, allocations: 16.25 kB / 0.6996 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1745, allocations: 23.86 kB / 0.6997 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.1745, allocations: 11.94 kB / 0.6997 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1745, allocations: 8 kB / 0.6997 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.1747, allocations: 115.9 kB / 0.6998 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1748, allocations: 7.938 kB / 0.6998 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.1748, allocations: 15.88 kB / 0.6998 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.175, allocations: 99.62 kB / 0.6999 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.175, allocations: 4 kB / 0.6999 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.175, allocations: 0 / 0.6999 GB, free: 224 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.175, allocations: 0 / 0.6999 GB, free: 224 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005031/0.1755, allocations: 371.1 kB / 0.7003 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1755, allocations: 13.11 kB / 0.7003 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.1756, allocations: 42.67 kB / 0.7003 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1757, allocations: 12.89 kB / 0.7003 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.176, allocations: 180.3 kB / 0.7005 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-06/0.176, allocations: 384 / 0.7005 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.176, allocations: 8.359 kB / 0.7005 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1761, allocations: 65.72 kB / 0.7006 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1761, allocations: 0 / 0.7006 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1761, allocations: 4 kB / 0.7006 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1761, allocations: 4 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.1762, allocations: 23.98 kB / 0.7006 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1766, allocations: 280.8 kB / 0.7009 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.1767, allocations: 30.52 kB / 0.7009 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.1767, allocations: 16.91 kB / 0.7009 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.1772, allocations: 0.5583 MB / 0.7015 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1773, allocations: 30.56 kB / 0.7015 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1773, allocations: 0 / 0.7015 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002674/0.1775, allocations: 65.67 kB / 0.7015 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1776, allocations: 55.34 kB / 0.7016 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1777, allocations: 126.2 kB / 0.7017 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1777, allocations: 25.7 kB / 0.7017 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1778, allocations: 96.09 kB / 0.7018 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1778, allocations: 3.953 kB / 0.7018 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1778, allocations: 13.72 kB / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.178, allocations: 322.8 kB / 0.7022 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.178, allocations: 8 kB / 0.7022 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.1781, allocations: 15.98 kB / 0.7022 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.1781, allocations: 28.78 kB / 0.7022 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1781, allocations: 0 / 0.7022 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001254/0.1783, allocations: 57.62 kB / 0.7023 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1783, allocations: 4 kB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1783, allocations: 0 / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1783, allocations: 0 / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.1784, allocations: 8.078 kB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1784, allocations: 4 kB / 0.7023 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.1784, allocations: 7.938 kB / 0.7023 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1784, allocations: 3.938 kB / 0.7023 GB, free: 13.41 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 (2): * Single equations (assignments): 2 * 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 8.088e-05/0.1785, allocations: 117.8 kB / 0.7024 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1785, allocations: 3.953 kB / 0.7024 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.1787, allocations: 69.2 kB / 0.7025 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1787, allocations: 3.984 kB / 0.7025 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1787, allocations: 4.031 kB / 0.7025 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1787, allocations: 3.984 kB / 0.7025 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1789, allocations: 165.6 kB / 0.7026 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1789, allocations: 0 / 0.7026 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.1789, allocations: 11.94 kB / 0.7027 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1789, allocations: 0 / 0.7027 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1789, allocations: 4 kB / 0.7027 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1789, allocations: 0 / 0.7027 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1789, allocations: 0 / 0.7027 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.1791, allocations: 155.4 kB / 0.7028 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.1792, allocations: 85.06 kB / 0.7029 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1792, allocations: 0 / 0.7029 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.1792, allocations: 7.984 kB / 0.7029 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.1793, allocations: 4 kB / 0.7029 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1793, allocations: 0 / 0.7029 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.1793, allocations: 99.2 kB / 0.703 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1793, allocations: 32 / 0.703 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002339/0.1796, allocations: 16 kB / 0.703 GB, free: 12.57 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 (2): * Single equations (assignments): 2 * 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.0005546/0.1801, allocations: 0.6929 MB / 0.7037 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1803, allocations: 32 kB / 0.7037 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1803, allocations: 4 kB / 0.7037 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.1803, allocations: 7.938 kB / 0.7037 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.1805, allocations: 7 kB / 0.7037 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1819, allocations: 1.326 MB / 0.705 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1822, allocations: 0.6807 MB / 0.7057 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1822, allocations: 11.92 kB / 0.7057 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1823, allocations: 15.44 kB / 0.7057 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1823, allocations: 0 / 0.7057 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2068, allocations: 1.622 MB / 0.7073 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.986, allocations: 0 / 0.7073 GB, free: 8.113 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.709861740004271] Failed to read output from testmodel.py, exit status != 0: 8.076358567006537 8.100616517 7.921331051 Calling exit ...