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.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.001305/0.001305, allocations: 107.9 kB / 16.4 MB, free: 6.508 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.001324/0.001324, allocations: 192.5 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.429/1.429, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.8292/0.8292, allocations: 132.2 MB / 429.4 MB, free: 5.945 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.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: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 59.44 kB / 0.5894 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1689, allocations: 80.22 MB / 0.6677 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002726/0.1717, allocations: 1.489 MB / 0.6692 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1728, allocations: 0.6436 MB / 0.6698 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.1728, allocations: 0 / 0.6698 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1729, allocations: 3.938 kB / 0.6698 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.1729, allocations: 11.86 kB / 0.6698 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.1733, allocations: 79.73 kB / 0.6699 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.131e-05/0.1734, allocations: 31.92 kB / 0.6699 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.1735, allocations: 20.27 kB / 0.6699 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.1736, allocations: 11.94 kB / 0.6699 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1736, allocations: 23.84 kB / 0.67 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1736, allocations: 4 kB / 0.67 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1738, allocations: 91.91 kB / 0.6701 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.1739, allocations: 7.984 kB / 0.6701 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1739, allocations: 23.86 kB / 0.6701 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1741, allocations: 79.72 kB / 0.6702 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1741, allocations: 0 / 0.6702 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.236e-06/0.1741, allocations: 4 kB / 0.6702 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1741, allocations: 3.938 kB / 0.6702 GB, free: 7.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000487/0.1746, allocations: 363.2 kB / 0.6705 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1746, allocations: 8.031 kB / 0.6705 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1747, allocations: 38.73 kB / 0.6706 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.1747, allocations: 8.875 kB / 0.6706 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1749, allocations: 172.3 kB / 0.6707 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1749, allocations: 384 / 0.6707 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.1749, allocations: 4.375 kB / 0.6707 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1751, allocations: 57.81 kB / 0.6708 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1751, allocations: 0 / 0.6708 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1751, allocations: 0 / 0.6708 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1751, allocations: 0 / 0.6708 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1752, allocations: 35.91 kB / 0.6708 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1756, allocations: 284.7 kB / 0.6711 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.1758, allocations: 34.52 kB / 0.6711 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1758, allocations: 16.91 kB / 0.6711 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.1764, allocations: 0.5583 MB / 0.6717 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1765, allocations: 30.56 kB / 0.6717 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1765, allocations: 0 / 0.6717 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002905/0.1768, allocations: 69.62 kB / 0.6718 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1768, allocations: 51.41 kB / 0.6718 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.177, allocations: 126.9 kB / 0.672 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.177, allocations: 25.7 kB / 0.672 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.1771, allocations: 88.14 kB / 0.6721 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1771, allocations: 3.953 kB / 0.6721 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.1771, allocations: 17.72 kB / 0.6721 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1773, allocations: 322.9 kB / 0.6724 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.1773, allocations: 12 kB / 0.6724 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.1774, allocations: 11.92 kB / 0.6724 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.1775, allocations: 24.84 kB / 0.6724 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1775, allocations: 0 / 0.6724 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.1776, allocations: 53.69 kB / 0.6725 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1776, allocations: 8.094 kB / 0.6725 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1776, allocations: 0 / 0.6725 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1777, allocations: 0 / 0.6725 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.1777, allocations: 7.984 kB / 0.6725 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1777, allocations: 0 / 0.6725 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.1778, allocations: 15.89 kB / 0.6725 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1778, allocations: 3.938 kB / 0.6725 GB, free: 4.473 MB / 0.4981 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.757e-05/0.1779, allocations: 113.8 kB / 0.6726 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1779, allocations: 0 / 0.6726 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.1781, allocations: 73.2 kB / 0.6727 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1781, allocations: 0 / 0.6727 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1781, allocations: 0 / 0.6727 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1781, allocations: 3.984 kB / 0.6727 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1784, allocations: 173.5 kB / 0.6729 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1784, allocations: 0 / 0.6729 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.1784, allocations: 4 kB / 0.6729 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1784, allocations: 0 / 0.6729 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1784, allocations: 0 / 0.6729 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1784, allocations: 4.031 kB / 0.6729 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1784, allocations: 4 kB / 0.6729 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1786, allocations: 155.4 kB / 0.673 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1787, allocations: 85.06 kB / 0.6731 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1787, allocations: 4 kB / 0.6731 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.1788, allocations: 0 / 0.6731 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1788, allocations: 7.922 kB / 0.6731 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1788, allocations: 8.031 kB / 0.6731 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.1789, allocations: 96.3 kB / 0.6732 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1789, allocations: 0 / 0.6732 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002503/0.1792, allocations: 12 kB / 0.6732 GB, free: 3.637 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 (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.0006026/0.1798, allocations: 0.689 MB / 0.6739 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.18, allocations: 23.98 kB / 0.6739 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.18, allocations: 0 / 0.6739 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.18, allocations: 15.98 kB / 0.6739 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.1803, allocations: 6.344 kB / 0.674 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1818, allocations: 1.323 MB / 0.6752 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1822, allocations: 0.6807 MB / 0.6759 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1822, allocations: 11.97 kB / 0.6759 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1823, allocations: 15.44 kB / 0.6759 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1823, allocations: 0 / 0.6759 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.2051, allocations: 1.478 MB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.028, allocations: 8.047 kB / 0.6774 GB, free: 15.32 MB / 0.5137 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.719086239929311] Failed to read output from testmodel.py, exit status != 0: 8.093619458028115 8.116386577 7.938413951 Calling exit ...