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.001149/0.001149, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001151/0.001151, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7922/0.7922, allocations: 135.1 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.89 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3461, allocations: 80.91 MB / 0.585 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002278/0.3484, allocations: 1.478 MB / 0.5864 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.3493, allocations: 0.6499 MB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.3494, allocations: 1.406 kB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.3494, allocations: 3.938 kB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.3495, allocations: 5.406 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3498, allocations: 77.89 kB / 0.5872 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.3498, allocations: 40.98 kB / 0.5872 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.3499, allocations: 15.02 kB / 0.5872 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.35, allocations: 21.77 kB / 0.5872 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.3501, allocations: 17.73 kB / 0.5873 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3501, allocations: 2.938 kB / 0.5873 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.3502, allocations: 96.17 kB / 0.5874 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3503, allocations: 13.75 kB / 0.5874 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.3503, allocations: 12.09 kB / 0.5874 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3504, allocations: 85.67 kB / 0.5875 GB, free: 23.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3504, allocations: 0 / 0.5875 GB, free: 23.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3505, allocations: 2.312 kB / 0.5875 GB, free: 23.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3505, allocations: 0 / 0.5875 GB, free: 23.48 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.0003401/0.3508, allocations: 367 kB / 0.5878 GB, free: 23.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3509, allocations: 10.55 kB / 0.5878 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.3509, allocations: 2.875 kB / 0.5878 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.036e-05/0.351, allocations: 175.2 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.351, allocations: 5.375 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.351, allocations: 3.156 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3511, allocations: 63.33 kB / 0.5881 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3512, allocations: 0 / 0.5881 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3512, allocations: 1.344 kB / 0.5881 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3512, allocations: 1.406 kB / 0.5881 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.3513, allocations: 22.98 kB / 0.5881 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.3516, allocations: 280.4 kB / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.3516, allocations: 38.88 kB / 0.5884 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.3517, allocations: 15.14 kB / 0.5884 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.352, allocations: 0.5577 MB / 0.5889 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.3521, allocations: 31.12 kB / 0.589 GB, free: 21.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3521, allocations: 2.469 kB / 0.589 GB, free: 21.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.3523, allocations: 72.23 kB / 0.589 GB, free: 21.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.3523, allocations: 53.72 kB / 0.5891 GB, free: 21.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.3524, allocations: 118 kB / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.3524, allocations: 25.7 kB / 0.5892 GB, free: 21.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.3525, allocations: 90.58 kB / 0.5893 GB, free: 21.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.3525, allocations: 9.328 kB / 0.5893 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3525, allocations: 13.31 kB / 0.5893 GB, free: 21.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.3525, allocations: 321 kB / 0.5897 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.3526, allocations: 10.17 kB / 0.5897 GB, free: 21.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.3526, allocations: 13.94 kB / 0.5897 GB, free: 21.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.3527, allocations: 27 kB / 0.5897 GB, free: 21.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3527, allocations: 0 / 0.5897 GB, free: 21.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.3529, allocations: 60.8 kB / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3529, allocations: 5.125 kB / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3529, allocations: 0 / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3529, allocations: 2.094 kB / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.353, allocations: 5.312 kB / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.353, allocations: 0 / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.353, allocations: 6.984 kB / 0.5898 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3531, allocations: 5.562 kB / 0.5898 GB, free: 21 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.598e-05/0.3531, allocations: 117.5 kB / 0.5899 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3531, allocations: 6.281 kB / 0.5899 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.3533, allocations: 71.06 kB / 0.59 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3533, allocations: 1.656 kB / 0.59 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3533, allocations: 0.5625 kB / 0.59 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3533, allocations: 3.938 kB / 0.59 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.3534, allocations: 165.8 kB / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3534, allocations: 0.6562 kB / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.3535, allocations: 4.688 kB / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3535, allocations: 6.453 kB / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3535, allocations: 1.125 kB / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3535, allocations: 0 / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3535, allocations: 1.375 kB / 0.5901 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3537, allocations: 154.8 kB / 0.5903 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.3537, allocations: 81.97 kB / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3537, allocations: 2.125 kB / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.3538, allocations: 5.281 kB / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3538, allocations: 3.188 kB / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.3538, allocations: 0 / 0.5904 GB, free: 20.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.857e-05/0.3539, allocations: 101.6 kB / 0.5905 GB, free: 20.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3539, allocations: 0 / 0.5905 GB, free: 20.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3541, allocations: 12.81 kB / 0.5905 GB, free: 20.27 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.0001162/0.3543, allocations: 115.4 kB / 0.5906 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.3544, allocations: 22.64 kB / 0.5906 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3544, allocations: 4.25 kB / 0.5906 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.3545, allocations: 12.03 kB / 0.5906 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.3547, allocations: 9.547 kB / 0.5906 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.355, allocations: 161.9 kB / 0.5908 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.703e-05/0.3551, allocations: 0.6797 MB / 0.5915 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.3551, allocations: 9.969 kB / 0.5915 GB, free: 19.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3551, allocations: 0.5 kB / 0.5915 GB, free: 19.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002076/0.3572, allocations: 0.7205 MB / 0.5922 GB, free: 18.75 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)