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.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001808/0.001808, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.988 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.853/0.853, allocations: 134 MB / 446.4 MB, free: 10.25 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.001939/0.001939, allocations: 68.03 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.176, allocations: 85.9 MB / 0.7024 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002979/0.1789, allocations: 1.524 MB / 0.7039 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1803, allocations: 0.7525 MB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.1803, allocations: 8 kB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.1804, allocations: 3.938 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.1804, allocations: 7.875 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1808, allocations: 83.73 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1809, allocations: 47.77 kB / 0.7048 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.181, allocations: 16.22 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1811, allocations: 19.92 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.1812, allocations: 15.92 kB / 0.7049 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1812, allocations: 8 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1814, allocations: 111.9 kB / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.1814, allocations: 11.94 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.1815, allocations: 15.92 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1817, allocations: 91.7 kB / 0.7051 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1817, allocations: 3.938 kB / 0.7051 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1817, allocations: 0 / 0.7051 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1817, allocations: 0 / 0.7051 GB, free: 14.65 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.0004372/0.1821, allocations: 294 kB / 0.7054 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1822, allocations: 12.03 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1822, allocations: 42.73 kB / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.1823, allocations: 20.83 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1826, allocations: 118.4 kB / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1826, allocations: 8.375 kB / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1826, allocations: 4.359 kB / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1827, allocations: 65.77 kB / 0.7056 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1828, allocations: 4 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1828, allocations: 0 / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1828, allocations: 7.938 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.1829, allocations: 23.98 kB / 0.7057 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1832, allocations: 243.9 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1833, allocations: 38.5 kB / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.1834, allocations: 12.92 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.1836, allocations: 39.91 kB / 0.706 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1836, allocations: 34.56 kB / 0.706 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1836, allocations: 0 / 0.706 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.1838, allocations: 57.67 kB / 0.7061 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1839, allocations: 55.41 kB / 0.7061 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.184, allocations: 133.3 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.184, allocations: 25.7 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.1841, allocations: 92.09 kB / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1841, allocations: 3.953 kB / 0.7064 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.1841, allocations: 21.64 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1843, allocations: 318.8 kB / 0.7067 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.1843, allocations: 11.98 kB / 0.7067 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.1843, allocations: 8 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.1844, allocations: 32.91 kB / 0.7067 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1844, allocations: 0 / 0.7067 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001238/0.1845, allocations: 49.69 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1845, allocations: 8 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1846, allocations: 3.984 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1846, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.1846, allocations: 4 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1846, allocations: 7.969 kB / 0.7068 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.1847, allocations: 7.938 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1847, allocations: 3.938 kB / 0.7068 GB, free: 12.68 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 7.638e-05/0.1848, allocations: 109.8 kB / 0.7069 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1848, allocations: 11.89 kB / 0.7069 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.1849, allocations: 61.3 kB / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.185, allocations: 4 kB / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.185, allocations: 4.031 kB / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.185, allocations: 0 / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1851, allocations: 140.7 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1851, allocations: 0 / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.1852, allocations: 4 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1852, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1852, allocations: 4 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1852, allocations: 3.984 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1852, allocations: 3.938 kB / 0.7072 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1854, allocations: 159.4 kB / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.1854, allocations: 7.953 kB / 0.7073 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1854, allocations: 0 / 0.7073 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.1854, allocations: 3.984 kB / 0.7073 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1855, allocations: 4 kB / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1855, allocations: 0 / 0.7073 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.1855, allocations: 107.1 kB / 0.7074 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1855, allocations: 0 / 0.7074 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002337/0.1858, allocations: 12.03 kB / 0.7074 GB, free: 11.98 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.0005445/0.1863, allocations: 0.6968 MB / 0.7081 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.1865, allocations: 23.98 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1865, allocations: 4.094 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.1865, allocations: 12 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1867, allocations: 2.25 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1881, allocations: 1.324 MB / 0.7094 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1884, allocations: 0.6885 MB / 0.7101 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.1885, allocations: 4 kB / 0.7101 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.1885, allocations: 23.38 kB / 0.7101 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1885, allocations: 0 / 0.7101 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2165, allocations: 1.749 MB / 0.7119 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.03, allocations: 2.234 kB / 0.7119 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.698286936851218] Failed to read output from testmodel.py, exit status != 0: 11.132425259100273 11.155317683 10.969487502 Calling exit ...