Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00648/0.00648, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001165/0.001165, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9368/0.9368, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002263, allocations: 71.89 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4712, allocations: 80.92 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002396/0.4737, allocations: 1.495 MB / 0.6661 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.4747, allocations: 0.6408 MB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.4748, allocations: 0 / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.4748, allocations: 4.938 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-05/0.4749, allocations: 9.109 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.4753, allocations: 76.42 kB / 0.6668 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.4754, allocations: 37.88 kB / 0.6669 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4755, allocations: 14.59 kB / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.4756, allocations: 19.08 kB / 0.6669 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.4756, allocations: 19.95 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.4757, allocations: 6.578 kB / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.4758, allocations: 91.61 kB / 0.667 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.4759, allocations: 9.172 kB / 0.667 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.4759, allocations: 20.02 kB / 0.667 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.4761, allocations: 79.97 kB / 0.6671 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4761, allocations: 3.984 kB / 0.6671 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4761, allocations: 0 / 0.6671 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.4761, allocations: 5.188 kB / 0.6671 GB, free: 5.688 MB / 0.4981 GB 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.000395/0.4765, allocations: 360.3 kB / 0.6675 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4766, allocations: 13.22 kB / 0.6675 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.4766, allocations: 4.312 kB / 0.6675 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.4767, allocations: 170.6 kB / 0.6676 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4767, allocations: 6.062 kB / 0.6676 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4767, allocations: 2.875 kB / 0.6676 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4769, allocations: 61.92 kB / 0.6677 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4769, allocations: 4 kB / 0.6677 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4769, allocations: 1.375 kB / 0.6677 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4769, allocations: 1.094 kB / 0.6677 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.477, allocations: 22.61 kB / 0.6677 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.4774, allocations: 279.4 kB / 0.668 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.4775, allocations: 36.12 kB / 0.668 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.4775, allocations: 18.92 kB / 0.668 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.4779, allocations: 0.5561 MB / 0.6686 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.4779, allocations: 31.88 kB / 0.6686 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4779, allocations: 0 / 0.6686 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002438/0.4782, allocations: 64.39 kB / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.4782, allocations: 64.8 kB / 0.6687 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.4783, allocations: 121.4 kB / 0.6689 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.4783, allocations: 25.7 kB / 0.6689 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.4783, allocations: 90.8 kB / 0.669 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.4783, allocations: 13.53 kB / 0.669 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.4784, allocations: 11.19 kB / 0.669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.4784, allocations: 320.3 kB / 0.6693 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.4785, allocations: 14.52 kB / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.4785, allocations: 9.719 kB / 0.6693 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.4786, allocations: 24.5 kB / 0.6693 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4786, allocations: 1.406 kB / 0.6693 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.4787, allocations: 58.8 kB / 0.6694 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4787, allocations: 4.938 kB / 0.6694 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4787, allocations: 0 / 0.6694 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4787, allocations: 5.312 kB / 0.6694 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.4788, allocations: 8.406 kB / 0.6694 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4788, allocations: 3.938 kB / 0.6694 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.4789, allocations: 6.703 kB / 0.6694 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4789, allocations: 3.984 kB / 0.6694 GB, free: 3.168 MB / 0.4981 GB 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 5.071e-05/0.4789, allocations: 116.1 kB / 0.6695 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.479, allocations: 2.562 kB / 0.6696 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.4791, allocations: 66.05 kB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.4791, allocations: 1.219 kB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4792, allocations: 0 / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4792, allocations: 0 / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.4793, allocations: 165.5 kB / 0.6698 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4793, allocations: 0 / 0.6698 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.4793, allocations: 9 kB / 0.6698 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4793, allocations: 0 / 0.6698 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4794, allocations: 5.359 kB / 0.6698 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4794, allocations: 0 / 0.6698 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4794, allocations: 0 / 0.6698 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4795, allocations: 158.2 kB / 0.6699 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.4795, allocations: 86.8 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4796, allocations: 5.422 kB / 0.67 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.4796, allocations: 1.094 kB / 0.67 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.4797, allocations: 1.125 kB / 0.67 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4797, allocations: 1.219 kB / 0.67 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.03e-05/0.4797, allocations: 106.2 kB / 0.6701 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4797, allocations: 0 / 0.6701 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.4799, allocations: 13.06 kB / 0.6701 GB, free: 2.426 MB / 0.4981 GB 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.0001398/0.4801, allocations: 111.3 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.4802, allocations: 22.92 kB / 0.6703 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4802, allocations: 3.938 kB / 0.6703 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.4803, allocations: 11.41 kB / 0.6703 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.4805, allocations: 9.125 kB / 0.6703 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.4808, allocations: 143.3 kB / 0.6704 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4809, allocations: 0.6812 MB / 0.6711 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.481, allocations: 9.312 kB / 0.6711 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.481, allocations: 10.25 kB / 0.6711 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.481, allocations: 0 / 0.6711 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.002771/0.4838, allocations: 492.5 kB / 0.6716 GB, free: 1.203 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)