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.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/package.mo", uses=false) 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.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_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001278/0.001278, allocations: 104.9 kB / 16.27 MB, free: 5.906 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.00138/0.00138, allocations: 190.8 kB / 17.2 MB, free: 5.547 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.379/1.379, 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/package.mo): time 0.8018/0.8018, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.14 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3518, allocations: 80.19 MB / 0.5807 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002514/0.3544, allocations: 1.49 MB / 0.5822 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.3553, allocations: 0.6457 MB / 0.5828 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.3553, allocations: 0 / 0.5828 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.3554, allocations: 5.844 kB / 0.5828 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.3554, allocations: 4.781 kB / 0.5828 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.3558, allocations: 78.08 kB / 0.5829 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.3559, allocations: 35.05 kB / 0.5829 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.356, allocations: 20.89 kB / 0.583 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.356, allocations: 17.7 kB / 0.583 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.3561, allocations: 16.23 kB / 0.583 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3561, allocations: 5.531 kB / 0.583 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3563, allocations: 98.92 kB / 0.5831 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.3563, allocations: 5.188 kB / 0.5831 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.3563, allocations: 20.48 kB / 0.5831 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3565, allocations: 78.56 kB / 0.5832 GB, free: 25.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3565, allocations: 0.6875 kB / 0.5832 GB, free: 25.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3565, allocations: 0 / 0.5832 GB, free: 25.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3565, allocations: 0.5625 kB / 0.5832 GB, free: 25.52 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.0004218/0.3569, allocations: 367.6 kB / 0.5835 GB, free: 25.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.357, allocations: 10.94 kB / 0.5836 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.357, allocations: 7.562 kB / 0.5836 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.3571, allocations: 172.2 kB / 0.5837 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3571, allocations: 1.656 kB / 0.5837 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3572, allocations: 5.75 kB / 0.5837 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3573, allocations: 58.03 kB / 0.5838 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3573, allocations: 0 / 0.5838 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3573, allocations: 7.938 kB / 0.5838 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3573, allocations: 1.094 kB / 0.5838 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/0.3574, allocations: 32.05 kB / 0.5838 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.3577, allocations: 277.1 kB / 0.5841 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.3578, allocations: 31.52 kB / 0.5841 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.3579, allocations: 20.84 kB / 0.5841 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.3582, allocations: 0.5538 MB / 0.5847 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.3582, allocations: 32.56 kB / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.3583, allocations: 0.875 kB / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.3585, allocations: 72.7 kB / 0.5848 GB, free: 23.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3585, allocations: 52.53 kB / 0.5848 GB, free: 23.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.3586, allocations: 124.8 kB / 0.5849 GB, free: 23.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.3586, allocations: 25.7 kB / 0.585 GB, free: 23.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.3586, allocations: 86.77 kB / 0.5851 GB, free: 23.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.3587, allocations: 6.25 kB / 0.5851 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.3587, allocations: 16.25 kB / 0.5851 GB, free: 23.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.3587, allocations: 321.1 kB / 0.5854 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.3588, allocations: 15.12 kB / 0.5854 GB, free: 23.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.3588, allocations: 14.11 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.3589, allocations: 29.94 kB / 0.5854 GB, free: 23.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3589, allocations: 0 / 0.5854 GB, free: 23.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.359, allocations: 57.09 kB / 0.5855 GB, free: 23.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3591, allocations: 5.469 kB / 0.5855 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3591, allocations: 0 / 0.5855 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3591, allocations: 1.094 kB / 0.5855 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.3592, allocations: 8.078 kB / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3592, allocations: 3.344 kB / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.3592, allocations: 6.406 kB / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.3592, allocations: 0 / 0.5855 GB, free: 23.02 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.883e-05/0.3593, allocations: 112.2 kB / 0.5856 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3593, allocations: 4 kB / 0.5856 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.3595, allocations: 65.61 kB / 0.5857 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3595, allocations: 6.609 kB / 0.5857 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3595, allocations: 3.938 kB / 0.5857 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3595, allocations: 0 / 0.5857 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3596, allocations: 176.1 kB / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3596, allocations: 0 / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.3597, allocations: 4.625 kB / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3597, allocations: 0 / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3597, allocations: 1.281 kB / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3597, allocations: 0 / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3597, allocations: 1.062 kB / 0.5859 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.3598, allocations: 164 kB / 0.586 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.3599, allocations: 78.42 kB / 0.5861 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3599, allocations: 2.062 kB / 0.5861 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.3599, allocations: 1.25 kB / 0.5861 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.36, allocations: 6.297 kB / 0.5861 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.36, allocations: 1.406 kB / 0.5861 GB, free: 22.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.36, allocations: 98.45 kB / 0.5862 GB, free: 22.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.36, allocations: 0 / 0.5862 GB, free: 22.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.3603, allocations: 21.59 kB / 0.5862 GB, free: 22.28 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.0001252/0.3604, allocations: 100.3 kB / 0.5863 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3605, allocations: 25.23 kB / 0.5864 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3606, allocations: 1.094 kB / 0.5864 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.3606, allocations: 13.42 kB / 0.5864 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3608, allocations: 5.375 kB / 0.5864 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3611, allocations: 162.8 kB / 0.5865 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3613, allocations: 0.6843 MB / 0.5872 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.3613, allocations: 14.38 kB / 0.5872 GB, free: 21.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3613, allocations: 1.188 kB / 0.5872 GB, free: 21.29 MB / 446.1 MB Notification: Performance of Templates: time 0.00237/0.3637, allocations: 0.7198 MB / 0.5879 GB, free: 20.96 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)