Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4247/0.4247, allocations: 54.95 MB / 324.7 MB, free: 64 kB / 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.001498/0.001498, allocations: 67.91 kB / 395.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1578, allocations: 59.59 MB / 455 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.2956/0.4535, allocations: 0.5358 MB / 455.5 MB, free: 39.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4547, allocations: 0.9635 MB / 456.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.4548, allocations: 0 / 456.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.4548, allocations: 0 / 456.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.878e-06/0.4548, allocations: 2.438 kB / 456.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4552, allocations: 67.02 kB / 456.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.4552, allocations: 4.672 kB / 456.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.4553, allocations: 3.422 kB / 456.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.4553, allocations: 0 / 456.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.4554, allocations: 3.031 kB / 456.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.4554, allocations: 2.406 kB / 456.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.4556, allocations: 92.39 kB / 456.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.4556, allocations: 0 / 456.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.4556, allocations: 0 / 456.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.4558, allocations: 51.28 kB / 456.7 MB, free: 39.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4558, allocations: 7.047 kB / 456.7 MB, free: 39.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4558, allocations: 0.5312 kB / 456.7 MB, free: 39.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4558, allocations: 0 / 456.7 MB, free: 39.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002609/0.4561, allocations: 320 kB / 457 MB, free: 38.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4561, allocations: 9.406 kB / 457 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.4561, allocations: 6.703 kB / 457 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.704e-05/0.4562, allocations: 164.5 kB / 457.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4562, allocations: 1.062 kB / 457.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.4562, allocations: 384 / 457.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/0.4563, allocations: 34.73 kB / 457.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4564, allocations: 0.6562 kB / 457.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4564, allocations: 0.8125 kB / 457.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4564, allocations: 0 / 457.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.4564, allocations: 5.781 kB / 457.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.4565, allocations: 149.2 kB / 457.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.4566, allocations: 19.58 kB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.4566, allocations: 7.109 kB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.457, allocations: 0.5649 MB / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4571, allocations: 35 kB / 458 MB, free: 37.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.4571, allocations: 0 / 458 MB, free: 37.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.4572, allocations: 37.86 kB / 458 MB, free: 37.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.4572, allocations: 51.97 kB / 458.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.14e-05/0.4573, allocations: 91.98 kB / 458.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.4573, allocations: 25.7 kB / 458.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.4573, allocations: 87.64 kB / 458.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.4574, allocations: 8.266 kB / 458.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.4574, allocations: 9.719 kB / 458.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.4575, allocations: 311.8 kB / 458.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.4575, allocations: 3.781 kB / 458.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.4575, allocations: 0 / 458.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.4575, allocations: 16.06 kB / 458.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4575, allocations: 1.125 kB / 458.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.339e-05/0.4576, allocations: 37.25 kB / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4576, allocations: 9.281 kB / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4576, allocations: 3.062 kB / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4576, allocations: 2.547 kB / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.4577, allocations: 0 / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4577, allocations: 3.344 kB / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.4577, allocations: 1.406 kB / 458.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.4577, allocations: 0 / 458.7 MB, free: 37.03 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 (1): * Single equations (assignments): 1 * 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 5.355e-05/0.4578, allocations: 107.8 kB / 458.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.4578, allocations: 7.594 kB / 458.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.4579, allocations: 48.03 kB / 458.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.4579, allocations: 3.406 kB / 458.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4579, allocations: 0 / 458.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4579, allocations: 3.828 kB / 458.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.458, allocations: 145.3 kB / 459 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.458, allocations: 0.9375 kB / 459 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.4581, allocations: 3.031 kB / 459 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4581, allocations: 4.656 kB / 459 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4581, allocations: 0 / 459 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.4581, allocations: 1.312 kB / 459 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4581, allocations: 2.906 kB / 459 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.763e-05/0.4582, allocations: 61.45 kB / 459.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.4582, allocations: 84.17 kB / 459.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4582, allocations: 1.375 kB / 459.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.4583, allocations: 0.5156 kB / 459.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.4583, allocations: 2.875 kB / 459.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.4583, allocations: 3.031 kB / 459.2 MB, free: 36.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.977e-05/0.4583, allocations: 75.28 kB / 459.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4583, allocations: 0 / 459.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.4585, allocations: 5.375 kB / 459.2 MB, free: 36.45 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 (1): * Single equations (assignments): 1 * 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.0001694/0.4587, allocations: 110.9 kB / 459.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.4588, allocations: 6.656 kB / 459.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4588, allocations: 0 / 459.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-06/0.4588, allocations: 6.312 kB / 459.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.459, allocations: 2.875 kB / 459.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.4592, allocations: 78.34 kB / 459.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.4594, allocations: 0.673 MB / 460.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.4594, allocations: 4.312 kB / 460.1 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.4594, allocations: 10.5 kB / 460.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4594, allocations: 0 / 460.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of Templates: time 0.002546/0.462, allocations: 296 kB / 460.4 MB, free: 35.54 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)