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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7992/0.7992, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3276, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002288/0.3299, allocations: 1.498 MB / 0.5872 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.3307, allocations: 0.6374 MB / 0.5878 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.3308, allocations: 1.75 kB / 0.5878 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.3308, allocations: 3.938 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.3309, allocations: 14.27 kB / 0.5879 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.3312, allocations: 69.27 kB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.3313, allocations: 43.05 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.3314, allocations: 15.83 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.3314, allocations: 19.05 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.3315, allocations: 16.83 kB / 0.588 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3315, allocations: 3.281 kB / 0.588 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3317, allocations: 91.97 kB / 0.5881 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.3317, allocations: 17 kB / 0.5881 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.3317, allocations: 17.97 kB / 0.5881 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.3319, allocations: 77.88 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3319, allocations: 1.438 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3319, allocations: 0 / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3319, allocations: 0 / 0.5882 GB, free: 23.66 MB / 446.1 MB 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.0003323/0.3322, allocations: 372.4 kB / 0.5886 GB, free: 23.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3323, allocations: 10.27 kB / 0.5886 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.3323, allocations: 3.75 kB / 0.5886 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.597e-05/0.3324, allocations: 176.1 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3324, allocations: 1.688 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3324, allocations: 3.781 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3325, allocations: 55.38 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3326, allocations: 0 / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3326, allocations: 1.625 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3326, allocations: 9.234 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.3327, allocations: 31.61 kB / 0.5889 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.333, allocations: 279.8 kB / 0.5891 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.333, allocations: 33.62 kB / 0.5892 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.3331, allocations: 12.05 kB / 0.5892 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.3334, allocations: 0.5539 MB / 0.5897 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3334, allocations: 39.34 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3334, allocations: 1.594 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.3337, allocations: 63.39 kB / 0.5898 GB, free: 21.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3337, allocations: 53.19 kB / 0.5899 GB, free: 21.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.3338, allocations: 123.7 kB / 0.59 GB, free: 21.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-06/0.3338, allocations: 29.7 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.3338, allocations: 87.33 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.3338, allocations: 5.312 kB / 0.5901 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3339, allocations: 12.53 kB / 0.5901 GB, free: 21.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.3339, allocations: 326.5 kB / 0.5904 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.3339, allocations: 5.219 kB / 0.5904 GB, free: 21.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.334, allocations: 14.83 kB / 0.5904 GB, free: 21.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.334, allocations: 30.09 kB / 0.5905 GB, free: 21.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3341, allocations: 0 / 0.5905 GB, free: 21.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.762e-05/0.3342, allocations: 52.81 kB / 0.5905 GB, free: 21.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3342, allocations: 8.875 kB / 0.5905 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3342, allocations: 0 / 0.5905 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3342, allocations: 3.5 kB / 0.5905 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.3343, allocations: 11.7 kB / 0.5905 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3343, allocations: 1.312 kB / 0.5905 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.3343, allocations: 5.047 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.3344, allocations: 1.375 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB 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 4.835e-05/0.3344, allocations: 118.2 kB / 0.5907 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.3344, allocations: 8.188 kB / 0.5907 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.3346, allocations: 69.42 kB / 0.5907 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3346, allocations: 1.625 kB / 0.5907 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3346, allocations: 5.078 kB / 0.5907 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3346, allocations: 3.938 kB / 0.5907 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3347, allocations: 166.2 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3347, allocations: 0 / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.3348, allocations: 6.844 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3348, allocations: 0 / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3348, allocations: 5.125 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3348, allocations: 0 / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3348, allocations: 1.312 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.3349, allocations: 159.7 kB / 0.5911 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.335, allocations: 78.45 kB / 0.5911 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.335, allocations: 0 / 0.5911 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.335, allocations: 2.125 kB / 0.5911 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.3351, allocations: 10.86 kB / 0.5912 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3351, allocations: 0 / 0.5912 GB, free: 20.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.3351, allocations: 98.73 kB / 0.5912 GB, free: 20.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3351, allocations: 2.469 kB / 0.5912 GB, free: 20.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.3354, allocations: 12.44 kB / 0.5913 GB, free: 20.44 MB / 446.1 MB 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.0001121/0.3355, allocations: 98.69 kB / 0.5914 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3356, allocations: 23.52 kB / 0.5914 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.3356, allocations: 0 / 0.5914 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.155e-05/0.3357, allocations: 22.08 kB / 0.5914 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3359, allocations: 1.594 kB / 0.5914 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.3361, allocations: 136 kB / 0.5915 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.023e-05/0.3362, allocations: 0.6846 MB / 0.5922 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.3362, allocations: 5.781 kB / 0.5922 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.3363, allocations: 7.438 kB / 0.5922 GB, free: 19.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3363, allocations: 0 / 0.5922 GB, free: 19.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002163/0.3384, allocations: 0.4887 MB / 0.5927 GB, free: 18.99 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)