Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00126/0.00126, allocations: 117.2 kB / 17.13 MB, free: 5.758 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.001269/0.001269, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.413/1.413, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 175.7 MB / 479.1 MB, free: 3.426 MB / 366.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-master/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: translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 77.77 kB / 0.6664 GB, free: 10.89 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1765, allocations: 94.53 MB / 0.7587 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003276/0.1798, allocations: 1.507 MB / 0.7602 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1811, allocations: 0.6522 MB / 0.7608 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.1811, allocations: 4 kB / 0.7608 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.1811, allocations: 7.938 kB / 0.7608 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.1812, allocations: 3.938 kB / 0.7608 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1816, allocations: 83.72 kB / 0.7609 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.1817, allocations: 35.84 kB / 0.7609 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.1818, allocations: 11.94 kB / 0.7609 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.1819, allocations: 19.92 kB / 0.7609 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.1819, allocations: 15.92 kB / 0.761 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1819, allocations: 4 kB / 0.761 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1821, allocations: 107.9 kB / 0.7611 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1821, allocations: 4 kB / 0.7611 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.996e-05/0.1822, allocations: 23.86 kB / 0.7611 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1824, allocations: 83.7 kB / 0.7612 GB, free: 14.51 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1824, allocations: 4 kB / 0.7612 GB, free: 14.51 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1824, allocations: 0 / 0.7612 GB, free: 14.51 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.1824, allocations: 0 / 0.7612 GB, free: 14.51 MB / 0.5763 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.0004794/0.1829, allocations: 359.2 kB / 0.7615 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1829, allocations: 8.031 kB / 0.7615 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.183, allocations: 8.938 kB / 0.7615 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1831, allocations: 184.2 kB / 0.7617 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1831, allocations: 384 / 0.7617 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1831, allocations: 4.375 kB / 0.7617 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1833, allocations: 54 kB / 0.7618 GB, free: 13.81 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1833, allocations: 0 / 0.7618 GB, free: 13.81 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1833, allocations: 0 / 0.7618 GB, free: 13.81 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1833, allocations: 0 / 0.7618 GB, free: 13.81 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.1834, allocations: 27.97 kB / 0.7618 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1838, allocations: 292.7 kB / 0.7621 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1839, allocations: 30.56 kB / 0.7621 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.184, allocations: 16.92 kB / 0.7621 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.1845, allocations: 0.5544 MB / 0.7627 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1846, allocations: 38.56 kB / 0.7627 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1846, allocations: 0 / 0.7627 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0002587/0.1848, allocations: 65.58 kB / 0.7628 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1849, allocations: 55.39 kB / 0.7628 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.185, allocations: 121.8 kB / 0.7629 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.185, allocations: 29.7 kB / 0.763 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.185, allocations: 92.27 kB / 0.763 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.1851, allocations: 11.88 kB / 0.7631 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1851, allocations: 13.72 kB / 0.7631 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1852, allocations: 322.7 kB / 0.7634 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.1853, allocations: 11.98 kB / 0.7634 GB, free: 11.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.1853, allocations: 8 kB / 0.7634 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.1854, allocations: 28.91 kB / 0.7634 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1854, allocations: 0 / 0.7634 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001357/0.1855, allocations: 65.56 kB / 0.7635 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1856, allocations: 4 kB / 0.7635 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1856, allocations: 0 / 0.7635 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1856, allocations: 0 / 0.7635 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.1856, allocations: 4 kB / 0.7635 GB, free: 11.78 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1857, allocations: 4 kB / 0.7635 GB, free: 11.78 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.1857, allocations: 0 / 0.7635 GB, free: 11.78 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1857, allocations: 4.016 kB / 0.7635 GB, free: 11.77 MB / 0.5763 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 9.352e-05/0.1858, allocations: 121.8 kB / 0.7636 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1858, allocations: 4 kB / 0.7636 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.186, allocations: 65.14 kB / 0.7637 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.186, allocations: 0 / 0.7637 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.186, allocations: 0 / 0.7637 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.186, allocations: 0 / 0.7637 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1862, allocations: 169.5 kB / 0.7638 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1862, allocations: 4.031 kB / 0.7639 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.1862, allocations: 4 kB / 0.7639 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1863, allocations: 0 / 0.7639 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1863, allocations: 3.984 kB / 0.7639 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1863, allocations: 4 kB / 0.7639 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1863, allocations: 0 / 0.7639 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1864, allocations: 147.5 kB / 0.764 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1865, allocations: 89.09 kB / 0.7641 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1865, allocations: 3.984 kB / 0.7641 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.1866, allocations: 4 kB / 0.7641 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1866, allocations: 11.92 kB / 0.7641 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1866, allocations: 0 / 0.7641 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 7.204e-05/0.1867, allocations: 99.27 kB / 0.7642 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1867, allocations: 3.938 kB / 0.7642 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002284/0.1869, allocations: 15.88 kB / 0.7642 GB, free: 10.93 MB / 0.5763 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.0001688/0.1871, allocations: 107.2 kB / 0.7643 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1872, allocations: 19.98 kB / 0.7643 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1872, allocations: 3.938 kB / 0.7643 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.1873, allocations: 12 kB / 0.7644 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1875, allocations: 4 kB / 0.7644 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.1878, allocations: 164.2 kB / 0.7645 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1881, allocations: 0.6847 MB / 0.7652 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1882, allocations: 7.438 kB / 0.7652 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of SimCode: time 3.31e-07/0.1882, allocations: 0 / 0.7652 GB, free: 9.863 MB / 0.5763 GB Notification: Performance of Templates: time 0.002445/0.1906, allocations: 0.7209 MB / 0.7659 GB, free: 9.145 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.837587807094678] Failed to read output from testmodel.py, exit status != 0: 0.1978440647944808 0.21069467 0.025544627 Calling exit ...