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.001041/0.001041, allocations: 173.8 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8012/0.8012, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009754/0.0009754, allocations: 102.9 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.115e-05, allocations: 4 kB / 0.5535 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.528, allocations: 82.3 MB / 0.6338 GB, free: 40.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6914, allocations: 111.8 MB / 0.743 GB, free: 11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.6918, allocations: 67.97 kB / 0.743 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006696/0.6985, allocations: 2.18 MB / 0.7452 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6985, allocations: 4 kB / 0.7452 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.6985, allocations: 4 kB / 0.7452 GB, free: 8.746 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.0004676/0.699, allocations: 362.3 kB / 0.7455 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.6991, allocations: 8.031 kB / 0.7455 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.6991, allocations: 4 kB / 0.7455 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.6993, allocations: 174.9 kB / 0.7457 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.6994, allocations: 0 / 0.7457 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.6994, allocations: 4 kB / 0.7457 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/0.6995, allocations: 19.94 kB / 0.7457 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.6996, allocations: 45.69 kB / 0.7458 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6997, allocations: 0 / 0.7458 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6997, allocations: 4 kB / 0.7458 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6997, allocations: 0 / 0.7458 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.7001, allocations: 249.4 kB / 0.746 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.912e-05/0.7002, allocations: 38.5 kB / 0.7461 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.7002, allocations: 12.86 kB / 0.7461 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/0.7008, allocations: 0.5545 MB / 0.7466 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.7008, allocations: 38.55 kB / 0.7466 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7008, allocations: 0 / 0.7466 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.7011, allocations: 45.61 kB / 0.7467 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.7012, allocations: 59.38 kB / 0.7467 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.7013, allocations: 101 kB / 0.7468 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.7013, allocations: 25.7 kB / 0.7469 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.7014, allocations: 92.02 kB / 0.747 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.7014, allocations: 7.906 kB / 0.747 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.7014, allocations: 0 / 0.747 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7016, allocations: 318.8 kB / 0.7473 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.7016, allocations: 8 kB / 0.7473 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.7016, allocations: 8 kB / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.7017, allocations: 4 kB / 0.7473 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7017, allocations: 0 / 0.7473 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.056e-05/0.7018, allocations: 49.59 kB / 0.7473 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7018, allocations: 4 kB / 0.7473 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.7018, allocations: 4 kB / 0.7473 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7019, allocations: 0 / 0.7473 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.7019, allocations: 4 kB / 0.7473 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.702, allocations: 0 / 0.7473 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.702, allocations: 12.08 kB / 0.7474 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.702, allocations: 4 kB / 0.7474 GB, free: 6.191 MB / 0.5261 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 (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.631e-05/0.7021, allocations: 104.9 kB / 0.7475 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.7021, allocations: 4 kB / 0.7475 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.7023, allocations: 53.59 kB / 0.7475 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7023, allocations: 0 / 0.7475 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7023, allocations: 0 / 0.7475 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7023, allocations: 0 / 0.7475 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.7024, allocations: 150.2 kB / 0.7477 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7025, allocations: 0 / 0.7477 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.7025, allocations: 7.984 kB / 0.7477 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7025, allocations: 0 / 0.7477 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7025, allocations: 4 kB / 0.7477 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7025, allocations: 0 / 0.7477 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7025, allocations: 0 / 0.7477 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.7027, allocations: 155.3 kB / 0.7478 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.7027, allocations: 77.11 kB / 0.7479 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7028, allocations: 0 / 0.7479 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.7028, allocations: 4 kB / 0.7479 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.7029, allocations: 7.922 kB / 0.7479 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.7029, allocations: 11.94 kB / 0.7479 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.7029, allocations: 83.28 kB / 0.748 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7029, allocations: 0 / 0.748 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002032/0.7031, allocations: 8 kB / 0.748 GB, free: 5.453 MB / 0.5261 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 (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.0001736/0.7033, allocations: 111.2 kB / 0.7481 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.124e-05/0.7034, allocations: 15.98 kB / 0.7481 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7034, allocations: 0 / 0.7481 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.7035, allocations: 15.94 kB / 0.7481 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.7036, allocations: 3.953 kB / 0.7481 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.7038, allocations: 67.92 kB / 0.7482 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.7041, allocations: 0.6925 MB / 0.7489 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.7041, allocations: 0 / 0.7489 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.7042, allocations: 7.438 kB / 0.7489 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.7042, allocations: 0 / 0.7489 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.002215/0.7064, allocations: 370.6 kB / 0.7492 GB, free: 4.121 MB / 0.5261 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)