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/Complex 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) 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-master/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.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/Complex 4.0.0+maint.om/package.mo): time 0.006775/0.006775, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7452/0.7452, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.481/1.481, allocations: 223.2 MB / 406.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000861/0.000861, allocations: 101.1 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 15.92 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4482, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5916, allocations: 112.5 MB / 0.7593 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5919, allocations: 71.97 kB / 0.7594 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00654/0.5985, allocations: 2.207 MB / 0.7616 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5985, allocations: 4 kB / 0.7616 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.5985, allocations: 4 kB / 0.7616 GB, free: 1.195 MB / 0.5261 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.00035/0.5989, allocations: 371.1 kB / 0.7619 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5989, allocations: 12.02 kB / 0.7619 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.599, allocations: 3.906 kB / 0.7619 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5991, allocations: 174.9 kB / 0.7621 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5991, allocations: 0 / 0.7621 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5992, allocations: 8 kB / 0.7621 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5993, allocations: 57.67 kB / 0.7622 GB, free: 500 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5993, allocations: 0 / 0.7622 GB, free: 500 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.5993, allocations: 4 kB / 0.7622 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5994, allocations: 0 / 0.7622 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5995, allocations: 31.92 kB / 0.7622 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.5999, allocations: 288.7 kB / 0.7625 GB, free: 124 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.6, allocations: 30.56 kB / 0.7625 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004491/0.6004, allocations: 0.5583 MB / 0.763 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.6005, allocations: 30.56 kB / 0.7631 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.6005, allocations: 4 kB / 0.7631 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002593/0.6007, allocations: 73.58 kB / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.6008, allocations: 55.36 kB / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.6009, allocations: 113 kB / 0.7633 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.6009, allocations: 25.7 kB / 0.7633 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.6009, allocations: 88.27 kB / 0.7634 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.601, allocations: 11.91 kB / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.601, allocations: 0 / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6011, allocations: 314.8 kB / 0.7637 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.6011, allocations: 12 kB / 0.7637 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.6012, allocations: 15.92 kB / 0.7638 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.6012, allocations: 16.06 kB / 0.7638 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.6013, allocations: 0 / 0.7638 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001249/0.6014, allocations: 57.67 kB / 0.7638 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6014, allocations: 8 kB / 0.7638 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6014, allocations: 0 / 0.7638 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6014, allocations: 0 / 0.7638 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.6015, allocations: 8 kB / 0.7638 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6015, allocations: 0 / 0.7638 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.6016, allocations: 19.88 kB / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.6016, allocations: 0 / 0.7639 GB, free: 14.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.049e-05/0.6017, allocations: 120.4 kB / 0.764 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.6017, allocations: 4 kB / 0.764 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.6019, allocations: 65.14 kB / 0.764 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6019, allocations: 4.031 kB / 0.764 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6019, allocations: 0 / 0.764 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6019, allocations: 0 / 0.764 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.6021, allocations: 169.6 kB / 0.7642 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6021, allocations: 0 / 0.7642 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.6021, allocations: 7.984 kB / 0.7642 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6022, allocations: 3.938 kB / 0.7642 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.6022, allocations: 4 kB / 0.7642 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6022, allocations: 0 / 0.7642 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6022, allocations: 0 / 0.7642 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.6024, allocations: 163.3 kB / 0.7644 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.6024, allocations: 89 kB / 0.7645 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.6024, allocations: 0 / 0.7645 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.6025, allocations: 4 kB / 0.7645 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.6025, allocations: 0 / 0.7645 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6025, allocations: 0 / 0.7645 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.6026, allocations: 103.3 kB / 0.7646 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6026, allocations: 0 / 0.7646 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002229/0.6028, allocations: 11.94 kB / 0.7646 GB, free: 13.66 MB / 0.5417 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 (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.0001565/0.603, allocations: 107.2 kB / 0.7647 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.6031, allocations: 23.98 kB / 0.7647 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6031, allocations: 4.062 kB / 0.7647 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.6032, allocations: 19.92 kB / 0.7647 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.6034, allocations: 9.703 kB / 0.7647 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.6037, allocations: 144.6 kB / 0.7649 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.604, allocations: 0.6927 MB / 0.7655 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.604, allocations: 3.984 kB / 0.7656 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.604, allocations: 11.44 kB / 0.7656 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.604, allocations: 0 / 0.7656 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.002121/0.6061, allocations: 419 kB / 0.766 GB, free: 12.19 MB / 0.5417 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)