Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009591/0.0009588, allocations: 174.5 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-master/package.mo): time 0.9062/0.9062, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.535/1.535, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0008578/0.0008577, allocations: 105 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.539e-05, allocations: 3.438 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6566/0.8057, allocations: 112.4 MB / 0.7503 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.8059, allocations: 75.72 kB / 0.7504 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006075/0.812, allocations: 2.191 MB / 0.7525 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.61e-07/0.812, allocations: 0 / 0.7525 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.812, allocations: 3.812 kB / 0.7525 GB, free: 27.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003404/0.8124, allocations: 361.8 kB / 0.7529 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8124, allocations: 7.656 kB / 0.7529 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.8125, allocations: 30.56 kB / 0.7529 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.8125, allocations: 7.844 kB / 0.7529 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.8126, allocations: 182.3 kB / 0.7531 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.8127, allocations: 3.438 kB / 0.7531 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.8127, allocations: 3.844 kB / 0.7531 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.8128, allocations: 54.02 kB / 0.7531 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.8128, allocations: 0 / 0.7531 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.8128, allocations: 0 / 0.7531 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8128, allocations: 0 / 0.7531 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.8129, allocations: 18.19 kB / 0.7532 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.8133, allocations: 284.7 kB / 0.7534 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.8133, allocations: 26.05 kB / 0.7534 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.8134, allocations: 17.39 kB / 0.7535 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.8138, allocations: 0.5484 MB / 0.754 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8138, allocations: 38.38 kB / 0.754 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.8138, allocations: 3.938 kB / 0.754 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001652/0.814, allocations: 52.05 kB / 0.7541 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.814, allocations: 54.78 kB / 0.7541 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.8141, allocations: 109.6 kB / 0.7542 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.8141, allocations: 25.7 kB / 0.7543 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.8142, allocations: 89.36 kB / 0.7544 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.8142, allocations: 14.97 kB / 0.7544 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8142, allocations: 0 / 0.7544 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8144, allocations: 313.8 kB / 0.7547 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.8144, allocations: 6.562 kB / 0.7547 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.8144, allocations: 3.844 kB / 0.7547 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.8144, allocations: 9.406 kB / 0.7547 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8144, allocations: 3.938 kB / 0.7547 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.875e-05/0.8145, allocations: 50.61 kB / 0.7547 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8145, allocations: 3.938 kB / 0.7547 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8146, allocations: 11.03 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.8146, allocations: 0 / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.8147, allocations: 3.844 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.8147, allocations: 3.953 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.8147, allocations: 6.641 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8147, allocations: 0 / 0.7548 GB, free: 25.34 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 (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.532e-05/0.8148, allocations: 107.3 kB / 0.7549 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.8148, allocations: 3.906 kB / 0.7549 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.815, allocations: 57.22 kB / 0.7549 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.815, allocations: 3.234 kB / 0.7549 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.815, allocations: 7.375 kB / 0.7549 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.815, allocations: 3.953 kB / 0.7549 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.8152, allocations: 166.6 kB / 0.7551 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8152, allocations: 0 / 0.7551 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.8152, allocations: 6.422 kB / 0.7551 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8152, allocations: 0 / 0.7551 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.8153, allocations: 3.844 kB / 0.7551 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8153, allocations: 8.031 kB / 0.7551 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8153, allocations: 3.938 kB / 0.7551 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.8154, allocations: 141.8 kB / 0.7553 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.8155, allocations: 84.86 kB / 0.7553 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.8155, allocations: 0 / 0.7553 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.8155, allocations: 0 / 0.7553 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.8156, allocations: 6.328 kB / 0.7553 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.8156, allocations: 4.031 kB / 0.7553 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.8157, allocations: 95.77 kB / 0.7554 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.714e-06/0.8157, allocations: 0 / 0.7554 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002144/0.8159, allocations: 22.34 kB / 0.7555 GB, free: 24.67 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 (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.0005129/0.8164, allocations: 0.6877 MB / 0.7561 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.877e-05/0.8165, allocations: 15.22 kB / 0.7561 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8165, allocations: 0 / 0.7561 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.8166, allocations: 11.38 kB / 0.7562 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.8168, allocations: 4.641 kB / 0.7562 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.8172, allocations: 105.4 kB / 0.7563 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.8175, allocations: 0.6823 MB / 0.7569 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.8176, allocations: 4.125 kB / 0.7569 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.8176, allocations: 21.27 kB / 0.757 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.8176, allocations: 3.938 kB / 0.757 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.8305, allocations: 1.2 MB / 0.7581 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.8306, allocations: 134.2 kB / 0.7583 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.287, allocations: 0 / 0.7583 GB, free: 22.79 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)