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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008426/0.0008426, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9923/0.9923, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7919/0.7919, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.818e-05, allocations: 5.922 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.004977/0.004995, allocations: 1.585 MB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.006115, allocations: 0.7269 MB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.006177, allocations: 4.547 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.006212, allocations: 5.875 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.006272, allocations: 6.562 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.006764, allocations: 97.38 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.006881, allocations: 40.3 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.006975, allocations: 8.953 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.007098, allocations: 28.78 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.007153, allocations: 16.64 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.007167, allocations: 0 / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.007398, allocations: 124.5 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.00741, allocations: 3.938 kB / 483.1 MB, free: 3.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.007427, allocations: 13.23 kB / 483.1 MB, free: 3.898 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.007572, allocations: 103.7 kB / 483.2 MB, free: 3.797 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007576, allocations: 3.984 kB / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007577, allocations: 3.031 kB / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.007579, allocations: 0 / 483.2 MB, free: 3.793 MB / 442.7 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.000262/0.007841, allocations: 268.8 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.00787, allocations: 8.031 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.00796, allocations: 16.86 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.008071, allocations: 117.7 kB / 483.6 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.008079, allocations: 4.375 kB / 483.6 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-06/0.008084, allocations: 4.969 kB / 483.6 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.008166, allocations: 58.94 kB / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.008173, allocations: 1.125 kB / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.00818, allocations: 0.9375 kB / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.008187, allocations: 12.81 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.008204, allocations: 7.938 kB / 483.7 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.008388, allocations: 165.1 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.364e-05/0.008422, allocations: 26.56 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.035e-05/0.008432, allocations: 6.453 kB / 483.9 MB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.008555, allocations: 41.25 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.008574, allocations: 39.06 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.008575, allocations: 0 / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.978e-05/0.008665, allocations: 42.81 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.008686, allocations: 51.41 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.008738, allocations: 123.3 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.008746, allocations: 26.52 kB / 484.2 MB, free: 2.676 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.008773, allocations: 88.09 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.00879, allocations: 7.938 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.008813, allocations: 19.5 kB / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.008878, allocations: 314.8 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.008886, allocations: 3.938 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.008894, allocations: 4 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.008916, allocations: 14.38 kB / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008917, allocations: 0 / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.839e-05/0.008956, allocations: 41.62 kB / 484.7 MB, free: 2.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.008966, allocations: 4.75 kB / 484.7 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.008969, allocations: 0 / 484.7 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008981, allocations: 0.9375 kB / 484.7 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.713e-05/0.009018, allocations: 4 kB / 484.7 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009021, allocations: 4.969 kB / 484.7 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.009033, allocations: 0 / 484.7 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.009038, allocations: 3.938 kB / 484.7 MB, free: 2.152 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.009085, allocations: 110.5 kB / 484.8 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.009099, allocations: 8.656 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.00916, allocations: 51.06 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009162, allocations: 3.938 kB / 484.8 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.009164, allocations: 0 / 484.8 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.009166, allocations: 0 / 484.8 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.08e-05/0.009247, allocations: 73.88 kB / 484.9 MB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-07/0.009247, allocations: 0 / 484.9 MB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.009263, allocations: 5.594 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009265, allocations: 0.7812 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.009268, allocations: 0 / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.00927, allocations: 3.938 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.009271, allocations: 5.203 kB / 484.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.406e-05/0.009325, allocations: 131.5 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.00933, allocations: 4.859 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.009339, allocations: 4 kB / 485.1 MB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.009369, allocations: 12.94 kB / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.009386, allocations: 0 / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.009388, allocations: 0 / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.203e-05/0.0094, allocations: 17.34 kB / 485.1 MB, free: 1.688 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0094, allocations: 0 / 485.1 MB, free: 1.688 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001207/0.009521, allocations: 16.69 kB / 485.1 MB, free: 1.672 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.162e-05/0.009613, allocations: 93.42 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.681e-05/0.009659, allocations: 21.64 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009661, allocations: 0 / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.009674, allocations: 17.78 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.165e-05/0.009765, allocations: 0 / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.0103, allocations: 134.4 kB / 485.4 MB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.01033, allocations: 59.88 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.491e-05/0.01034, allocations: 3.625 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.01037, allocations: 51.38 kB / 485.5 MB, free: 1.246 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01037, allocations: 1.062 kB / 485.5 MB, free: 1.246 MB / 442.7 MB Notification: Performance of Templates: time 0.001851/0.01222, allocations: 0.5809 MB / 486.1 MB, free: 0.7031 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.683891085907817]