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.005666/0.005667, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001388/0.001388, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4509/0.4509, allocations: 54.95 MB / 324.8 MB, free: 52 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.001591/0.001592, allocations: 74.73 kB / 456.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1582, allocations: 59.58 MB / 0.5038 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001736/0.1599, allocations: 0.5367 MB / 0.5043 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1613, allocations: 0.9675 MB / 0.5053 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.1613, allocations: 0 / 0.5053 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.1613, allocations: 0 / 0.5053 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.1613, allocations: 1.375 kB / 0.5053 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1618, allocations: 61.75 kB / 0.5053 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.1618, allocations: 1.375 kB / 0.5053 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.1619, allocations: 1.375 kB / 0.5053 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.1619, allocations: 1.375 kB / 0.5053 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.162, allocations: 9.359 kB / 0.5053 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-06/0.162, allocations: 0 / 0.5053 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.1622, allocations: 90.53 kB / 0.5054 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1622, allocations: 0 / 0.5054 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1622, allocations: 5.359 kB / 0.5054 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1623, allocations: 48.5 kB / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.1624, allocations: 5.312 kB / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1624, allocations: 0 / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1624, allocations: 0 / 0.5055 GB, free: 8.336 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.0002789/0.1627, allocations: 337 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1627, allocations: 9.625 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1628, allocations: 0.9375 kB / 0.5058 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.1628, allocations: 161.8 kB / 0.506 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1629, allocations: 384 / 0.506 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1629, allocations: 1.75 kB / 0.506 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.163, allocations: 35 kB / 0.506 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.163, allocations: 0 / 0.506 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.163, allocations: 0 / 0.506 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.163, allocations: 5.359 kB / 0.506 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.163, allocations: 5.375 kB / 0.506 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1632, allocations: 147.1 kB / 0.5061 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.1632, allocations: 19.89 kB / 0.5062 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1632, allocations: 6.234 kB / 0.5062 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.1637, allocations: 0.5667 MB / 0.5067 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1637, allocations: 34.56 kB / 0.5068 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1637, allocations: 0 / 0.5068 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000129/0.1639, allocations: 31.2 kB / 0.5068 GB, free: 6.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.1639, allocations: 56.72 kB / 0.5068 GB, free: 6.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.175e-05/0.1639, allocations: 89.86 kB / 0.5069 GB, free: 6.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1639, allocations: 25.7 kB / 0.5069 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.164, allocations: 84.12 kB / 0.507 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.164, allocations: 1.5 kB / 0.507 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.164, allocations: 19.09 kB / 0.507 GB, free: 6.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.1641, allocations: 312.2 kB / 0.5073 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.1641, allocations: 1.375 kB / 0.5073 GB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.1641, allocations: 1.375 kB / 0.5073 GB, free: 6.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.1641, allocations: 7.453 kB / 0.5074 GB, free: 6.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1642, allocations: 3.938 kB / 0.5074 GB, free: 6.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.611e-05/0.1642, allocations: 43 kB / 0.5074 GB, free: 6.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1642, allocations: 10.16 kB / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1642, allocations: 0 / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1642, allocations: 0 / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.1643, allocations: 1.719 kB / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1643, allocations: 0 / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.1643, allocations: 5.344 kB / 0.5074 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.1644, allocations: 0 / 0.5074 GB, free: 6.066 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 6.431e-05/0.1644, allocations: 107 kB / 0.5075 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.1644, allocations: 9.156 kB / 0.5075 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.1645, allocations: 45.47 kB / 0.5076 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1646, allocations: 1.406 kB / 0.5076 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1646, allocations: 4 kB / 0.5076 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1646, allocations: 0 / 0.5076 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.153e-05/0.1646, allocations: 147.2 kB / 0.5077 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1646, allocations: 0 / 0.5077 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.1647, allocations: 14.89 kB / 0.5077 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1647, allocations: 0 / 0.5077 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1647, allocations: 4.031 kB / 0.5077 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1647, allocations: 1.469 kB / 0.5077 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1647, allocations: 0 / 0.5077 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.074e-05/0.1647, allocations: 51.33 kB / 0.5078 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.1648, allocations: 85.05 kB / 0.5079 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1648, allocations: 5.141 kB / 0.5079 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-06/0.1648, allocations: 0 / 0.5079 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.1648, allocations: 5.188 kB / 0.5079 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1648, allocations: 1.125 kB / 0.5079 GB, free: 5.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.1648, allocations: 75.28 kB / 0.508 GB, free: 5.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1649, allocations: 0 / 0.508 GB, free: 5.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.1651, allocations: 5.375 kB / 0.508 GB, free: 5.441 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.0001455/0.1652, allocations: 99.88 kB / 0.5081 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1653, allocations: 11.52 kB / 0.5081 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1653, allocations: 0 / 0.5081 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.1653, allocations: 6.469 kB / 0.5081 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1655, allocations: 5.281 kB / 0.5081 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.1657, allocations: 88.53 kB / 0.5082 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.1658, allocations: 0.6707 MB / 0.5088 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.1659, allocations: 0.9062 kB / 0.5088 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.1659, allocations: 8.562 kB / 0.5088 GB, free: 4.527 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1659, allocations: 64 / 0.5088 GB, free: 4.527 MB / 382.1 MB Notification: Performance of Templates: time 0.002865/0.1688, allocations: 301.2 kB / 0.5091 GB, free: 4.363 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)