Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice") translateModel(Annex60.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0008732/0.0008732, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009294/0.0009295, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4294/0.4294, allocations: 54.98 MB / 325.3 MB, free: 0.8125 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 12 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3482, allocations: 60.71 MB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.001359/0.3496, allocations: 1.173 MB / 458.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.3504, allocations: 0.6165 MB / 459.1 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.3505, allocations: 4.688 kB / 459.1 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.3505, allocations: 7.359 kB / 459.1 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.3506, allocations: 6.953 kB / 459.1 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.3508, allocations: 55.73 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.3509, allocations: 22.16 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.351, allocations: 12.56 kB / 459.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.3511, allocations: 15.72 kB / 459.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.3511, allocations: 15.97 kB / 459.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3511, allocations: 0 / 459.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3513, allocations: 82 kB / 459.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3513, allocations: 14.02 kB / 459.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.3513, allocations: 25.7 kB / 459.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.966e-05/0.3514, allocations: 57.44 kB / 459.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.3514, allocations: 0 / 459.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3515, allocations: 0 / 459.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.3515, allocations: 0 / 459.4 MB, free: 38.36 MB / 382.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.00033/0.3518, allocations: 355.7 kB / 459.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3518, allocations: 9.469 kB / 459.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.3519, allocations: 6.312 kB / 459.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.352, allocations: 180.5 kB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.352, allocations: 3.312 kB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.352, allocations: 4.516 kB / 460 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3522, allocations: 56.14 kB / 460 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3522, allocations: 3.938 kB / 460 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3522, allocations: 0 / 460 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3522, allocations: 0 / 460 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.3523, allocations: 35.69 kB / 460 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3526, allocations: 281.6 kB / 460.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.3527, allocations: 37.31 kB / 460.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.353, allocations: 0.5546 MB / 460.9 MB, free: 36.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.353, allocations: 39.45 kB / 460.9 MB, free: 36.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3531, allocations: 0 / 460.9 MB, free: 36.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.3533, allocations: 70.25 kB / 461 MB, free: 36.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.3533, allocations: 51.41 kB / 461.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.3534, allocations: 121.2 kB / 461.2 MB, free: 36.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.3534, allocations: 29.27 kB / 461.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.3534, allocations: 87.11 kB / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.3535, allocations: 9.609 kB / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.3535, allocations: 0 / 461.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.3535, allocations: 317.5 kB / 461.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3536, allocations: 10.03 kB / 461.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.3536, allocations: 12.66 kB / 461.6 MB, free: 36.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.3537, allocations: 17.88 kB / 461.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3537, allocations: 3.375 kB / 461.7 MB, free: 36.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.3538, allocations: 65.5 kB / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3538, allocations: 6.5 kB / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3538, allocations: 0.7969 kB / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3538, allocations: 3.609 kB / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.3539, allocations: 8.531 kB / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3539, allocations: 0 / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.3539, allocations: 3.906 kB / 461.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.354, allocations: 0.875 kB / 461.7 MB, free: 36.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.354, allocations: 120.3 kB / 461.9 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3541, allocations: 11.11 kB / 461.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.3542, allocations: 70.67 kB / 461.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3542, allocations: 0 / 461.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3542, allocations: 3.938 kB / 462 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3542, allocations: 1.031 kB / 462 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3544, allocations: 169 kB / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3544, allocations: 1 kB / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.3544, allocations: 5.438 kB / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3544, allocations: 0 / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3545, allocations: 5.828 kB / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3545, allocations: 0 / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3545, allocations: 0.75 kB / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3546, allocations: 153.2 kB / 462.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.3546, allocations: 84.45 kB / 462.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3547, allocations: 3.188 kB / 462.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.3547, allocations: 13.23 kB / 462.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.3548, allocations: 0 / 462.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3548, allocations: 1.438 kB / 462.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.3548, allocations: 97.42 kB / 462.5 MB, free: 35.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3548, allocations: 1.062 kB / 462.5 MB, free: 35.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.355, allocations: 19.98 kB / 462.5 MB, free: 35.44 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.3552, allocations: 104.9 kB / 462.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3553, allocations: 22.48 kB / 462.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3553, allocations: 0 / 462.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.3554, allocations: 15.52 kB / 462.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.3555, allocations: 6.297 kB / 462.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.3558, allocations: 157.2 kB / 462.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.3559, allocations: 0.686 MB / 463.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.3559, allocations: 2.781 kB / 463.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.3559, allocations: 10.25 kB / 463.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3559, allocations: 4 kB / 463.5 MB, free: 34.52 MB / 382.1 MB Notification: Performance of Templates: time 0.002256/0.3582, allocations: 435.6 kB / 463.9 MB, free: 34.5 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: