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.001211/0.001211, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001573/0.001573, allocations: 172.7 kB / 15.95 MB, free: 208 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.727/1.727, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4849/0.4849, allocations: 55.01 MB / 325.4 MB, free: 0.6758 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.0005742/0.0005742, allocations: 20 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4492, allocations: 60.72 MB / 457.4 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.001593/0.4508, allocations: 1.177 MB / 458.5 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.4518, allocations: 0.622 MB / 459.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.4518, allocations: 0 / 459.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.4518, allocations: 7.781 kB / 459.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.4519, allocations: 7.156 kB / 459.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.4522, allocations: 51.84 kB / 459.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.4523, allocations: 33.66 kB / 459.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.4524, allocations: 11.05 kB / 459.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.4524, allocations: 13.66 kB / 459.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.4525, allocations: 17.41 kB / 459.3 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.4525, allocations: 2.688 kB / 459.3 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.4526, allocations: 87.22 kB / 459.4 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.4527, allocations: 6.578 kB / 459.4 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.4527, allocations: 37.58 kB / 459.4 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.4528, allocations: 58.34 kB / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4528, allocations: 1.75 kB / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4528, allocations: 0 / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.4528, allocations: 0 / 459.5 MB, free: 37.73 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.0003526/0.4532, allocations: 358.9 kB / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4532, allocations: 7.938 kB / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.4533, allocations: 2.531 kB / 459.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.4534, allocations: 178.9 kB / 460 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4534, allocations: 5.406 kB / 460 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.4534, allocations: 2.906 kB / 460 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4536, allocations: 54.8 kB / 460.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4536, allocations: 0.5625 kB / 460.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4536, allocations: 4.375 kB / 460.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4536, allocations: 0 / 460.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.4537, allocations: 34.83 kB / 460.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.454, allocations: 275.9 kB / 460.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.4541, allocations: 38.72 kB / 460.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.4542, allocations: 20.89 kB / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.4545, allocations: 0.5598 MB / 461 MB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.4545, allocations: 31.44 kB / 461 MB, free: 36.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4545, allocations: 0.5 kB / 461 MB, free: 36.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.4548, allocations: 69.97 kB / 461.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.4548, allocations: 55.73 kB / 461.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.4549, allocations: 123.7 kB / 461.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.4549, allocations: 26.92 kB / 461.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.4549, allocations: 89.88 kB / 461.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.4549, allocations: 10.53 kB / 461.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.4549, allocations: 3.031 kB / 461.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.455, allocations: 317.2 kB / 461.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.455, allocations: 13.94 kB / 461.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.4551, allocations: 15.66 kB / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.4551, allocations: 9.438 kB / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4551, allocations: 0 / 461.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/0.4552, allocations: 69.06 kB / 461.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4553, allocations: 7.312 kB / 461.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4553, allocations: 0.7188 kB / 461.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4553, allocations: 0 / 461.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.4554, allocations: 6.75 kB / 461.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4554, allocations: 0 / 461.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.4554, allocations: 8.688 kB / 461.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4554, allocations: 1.578 kB / 461.9 MB, free: 35.45 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 6.495e-05/0.4555, allocations: 116.4 kB / 462 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.4555, allocations: 10.83 kB / 462 MB, free: 35.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.4557, allocations: 68.45 kB / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4557, allocations: 1.031 kB / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4557, allocations: 0 / 462 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4557, allocations: 4.172 kB / 462.1 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4558, allocations: 166.6 kB / 462.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4558, allocations: 0 / 462.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.4559, allocations: 9.016 kB / 462.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4559, allocations: 8.797 kB / 462.2 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/0.4559, allocations: 0 / 462.2 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4559, allocations: 3.938 kB / 462.2 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4559, allocations: 0 / 462.2 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.456, allocations: 157.9 kB / 462.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.4561, allocations: 81.02 kB / 462.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4561, allocations: 7.797 kB / 462.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.4562, allocations: 0 / 462.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.4562, allocations: 10.08 kB / 462.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4562, allocations: 0.6875 kB / 462.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.4563, allocations: 99.73 kB / 462.6 MB, free: 34.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4563, allocations: 0 / 462.6 MB, free: 34.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.4565, allocations: 8.438 kB / 462.6 MB, free: 34.79 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.0001339/0.4566, allocations: 99.97 kB / 462.7 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.4568, allocations: 30.2 kB / 462.7 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4568, allocations: 0 / 462.7 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.4568, allocations: 19.27 kB / 462.7 MB, free: 34.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.4571, allocations: 5.109 kB / 462.7 MB, free: 34.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.4573, allocations: 148.3 kB / 462.9 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.4575, allocations: 0.681 MB / 463.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.4575, allocations: 7.359 kB / 463.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.4575, allocations: 7.438 kB / 463.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4575, allocations: 0 / 463.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002945/0.4605, allocations: 439.4 kB / 464 MB, free: 33.85 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: