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.001663/0.001663, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002137/0.002137, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.77 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.8532/0.8532, allocations: 134 MB / 446.4 MB, free: 9.957 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.002172/0.002172, allocations: 63.28 kB / 0.6185 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1748, allocations: 85.92 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002886/0.1777, allocations: 1.495 MB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.179, allocations: 0.6825 MB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.179, allocations: 0 / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.179, allocations: 7.922 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.1791, allocations: 7.922 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1795, allocations: 91.67 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.1797, allocations: 43.84 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1798, allocations: 20.2 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1799, allocations: 15.98 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.18, allocations: 15.86 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.18, allocations: 7.938 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.1802, allocations: 111.9 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1802, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1803, allocations: 15.88 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1805, allocations: 99.69 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1805, allocations: 4 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1805, allocations: 0 / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1805, allocations: 3.938 kB / 0.7049 GB, free: 14.41 MB / 0.5294 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.0005268/0.1811, allocations: 294 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1811, allocations: 8.031 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.1812, allocations: 34.75 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1813, allocations: 20.88 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1816, allocations: 122.4 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1816, allocations: 4.375 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1816, allocations: 4.375 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1818, allocations: 65.72 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1818, allocations: 0 / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1818, allocations: 4 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1818, allocations: 4 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.522e-05/0.1819, allocations: 19.98 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.1823, allocations: 247.9 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1824, allocations: 34.5 kB / 0.7058 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1825, allocations: 16.92 kB / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.1827, allocations: 31.97 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1828, allocations: 38.56 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.1828, allocations: 0 / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002578/0.183, allocations: 57.67 kB / 0.7059 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1831, allocations: 59.34 kB / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1832, allocations: 129.3 kB / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1832, allocations: 25.7 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.1833, allocations: 92.09 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1833, allocations: 3.953 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.1834, allocations: 21.84 kB / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1835, allocations: 318.8 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.1835, allocations: 12 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.1836, allocations: 7.984 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.1836, allocations: 24.84 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1836, allocations: 0 / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001241/0.1838, allocations: 69.5 kB / 0.7066 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1838, allocations: 8.094 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1838, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1838, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.1839, allocations: 7.984 kB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1839, allocations: 4 kB / 0.7067 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.1839, allocations: 3.938 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1839, allocations: 3.938 kB / 0.7067 GB, free: 12.46 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.986e-05/0.184, allocations: 109.8 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.184, allocations: 7.953 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.1842, allocations: 65.3 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1842, allocations: 0 / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1842, allocations: 3.984 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1842, allocations: 0 / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1844, allocations: 136.7 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1844, allocations: 0 / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.1845, allocations: 11.94 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1845, allocations: 0 / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1845, allocations: 0 / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1845, allocations: 7.984 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1845, allocations: 0 / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1847, allocations: 155.5 kB / 0.7071 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.1847, allocations: 7.953 kB / 0.7071 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1847, allocations: 4 kB / 0.7071 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.1848, allocations: 3.984 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.1848, allocations: 0 / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1848, allocations: 4 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.1849, allocations: 99.2 kB / 0.7072 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1849, allocations: 0 / 0.7072 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002333/0.1851, allocations: 12 kB / 0.7073 GB, free: 11.77 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.0005621/0.1857, allocations: 0.6968 MB / 0.7079 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1858, allocations: 23.98 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1858, allocations: 0 / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/0.1858, allocations: 15.88 kB / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1861, allocations: 7.766 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1876, allocations: 1.335 MB / 0.7093 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.33e-05/0.1877, allocations: 71.27 kB / 0.7094 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.1877, allocations: 4 kB / 0.7094 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1877, allocations: 11.44 kB / 0.7094 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1877, allocations: 0 / 0.7094 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.2162, allocations: 2.155 MB / 0.7115 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.23, allocations: 8.891 kB / 0.7115 GB, free: 7.453 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 14.903578625060618] Failed to read output from testmodel.py, exit status != 0: 11.340373797807842 11.368341017 11.182100472 Calling exit ...