Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7131/0.7131, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 396.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008257/0.0008258, allocations: 103.2 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.156e-05, allocations: 5.5 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.152, allocations: 81.58 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5723/0.7244, allocations: 111.3 MB / 0.7434 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.7247, allocations: 77.73 kB / 0.7435 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004816/0.7295, allocations: 1.689 MB / 0.7452 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7295, allocations: 0 / 0.7452 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7295, allocations: 3.844 kB / 0.7452 GB, free: 27.75 MB / 0.5105 GB 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.0002672/0.7298, allocations: 330.4 kB / 0.7455 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.7299, allocations: 11.56 kB / 0.7455 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.7299, allocations: 1.562 kB / 0.7455 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.73, allocations: 166.6 kB / 0.7457 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.73, allocations: 0 / 0.7457 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.7301, allocations: 0 / 0.7457 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.7301, allocations: 35.36 kB / 0.7457 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7302, allocations: 0 / 0.7457 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7302, allocations: 0 / 0.7457 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7302, allocations: 4 kB / 0.7457 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.7302, allocations: 3.938 kB / 0.7457 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.7304, allocations: 152 kB / 0.7458 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.389e-05/0.7304, allocations: 17.95 kB / 0.7459 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.7304, allocations: 8.828 kB / 0.7459 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.7309, allocations: 0.5597 MB / 0.7464 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.731, allocations: 37.94 kB / 0.7465 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.731, allocations: 3.938 kB / 0.7465 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.7311, allocations: 33.52 kB / 0.7465 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.7312, allocations: 51.41 kB / 0.7465 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.144e-05/0.7312, allocations: 88.97 kB / 0.7466 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.7312, allocations: 28.84 kB / 0.7467 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.7313, allocations: 80.14 kB / 0.7467 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.7313, allocations: 12.5 kB / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-06/0.7313, allocations: 0 / 0.7467 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7315, allocations: 314.3 kB / 0.747 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.7315, allocations: 0 / 0.747 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-06/0.7315, allocations: 3.906 kB / 0.747 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.7315, allocations: 0 / 0.747 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7315, allocations: 3.953 kB / 0.747 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.218e-05/0.7316, allocations: 40.44 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7316, allocations: 3.938 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7316, allocations: 4 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7317, allocations: 3.984 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.7317, allocations: 3.812 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7317, allocations: 3.312 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.7317, allocations: 0 / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.7317, allocations: 0 / 0.7471 GB, free: 25.55 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.7318, allocations: 104.8 kB / 0.7472 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.7318, allocations: 7.797 kB / 0.7472 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.604e-05/0.7319, allocations: 43.25 kB / 0.7473 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7319, allocations: 0 / 0.7473 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7319, allocations: 0 / 0.7473 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.732, allocations: 0 / 0.7473 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.001e-05/0.732, allocations: 152.4 kB / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7321, allocations: 0 / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.7321, allocations: 3.953 kB / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7321, allocations: 0 / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.7321, allocations: 3.75 kB / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7321, allocations: 4.031 kB / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7321, allocations: 0 / 0.7474 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.07e-05/0.7322, allocations: 55.52 kB / 0.7475 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.7322, allocations: 80.95 kB / 0.7475 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.7322, allocations: 7.891 kB / 0.7475 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.7322, allocations: 0 / 0.7475 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.7323, allocations: 3.234 kB / 0.7476 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.7323, allocations: 32 / 0.7476 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.7323, allocations: 83.22 kB / 0.7476 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7323, allocations: 0 / 0.7476 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001833/0.7325, allocations: 7.656 kB / 0.7476 GB, free: 24.95 MB / 0.5105 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 () * 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 (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.000163/0.7327, allocations: 111.2 kB / 0.7477 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.684e-05/0.7327, allocations: 3.844 kB / 0.7477 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7327, allocations: 0 / 0.7477 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.7328, allocations: 6.984 kB / 0.7478 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.48e-05/0.7329, allocations: 5.062 kB / 0.7478 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001381/0.733, allocations: 48.72 kB / 0.7478 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.7332, allocations: 0.6762 MB / 0.7485 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.7333, allocations: 1.938 kB / 0.7485 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.7333, allocations: 7.438 kB / 0.7485 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.7333, allocations: 3.875 kB / 0.7485 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.001822/0.7351, allocations: 274.5 kB / 0.7487 GB, free: 24.04 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)