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-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.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",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.001341/0.001341, 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-master/package.mo): time 0.7347/0.7347, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.615/1.615, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0008996/0.0008996, allocations: 94.77 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.16e-05, allocations: 5.094 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1742, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6299/0.8042, allocations: 111.5 MB / 0.7494 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.8045, allocations: 77.7 kB / 0.7495 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004841/0.8093, allocations: 1.69 MB / 0.7512 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8093, allocations: 0 / 0.7512 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8094, allocations: 0 / 0.7512 GB, free: 27.5 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.0002721/0.8096, allocations: 328.1 kB / 0.7515 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8097, allocations: 7.812 kB / 0.7515 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.8097, allocations: 38.5 kB / 0.7515 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.8098, allocations: 0 / 0.7515 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.8099, allocations: 167.7 kB / 0.7517 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8099, allocations: 0 / 0.7517 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.8099, allocations: 0 / 0.7517 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.81, allocations: 28.8 kB / 0.7517 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.81, allocations: 0 / 0.7517 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.81, allocations: 3.844 kB / 0.7517 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.81, allocations: 3.938 kB / 0.7517 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.8101, allocations: 0 / 0.7517 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.8102, allocations: 153.5 kB / 0.7519 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.293e-05/0.8102, allocations: 21.09 kB / 0.7519 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.8103, allocations: 4.859 kB / 0.7519 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.8107, allocations: 0.5575 MB / 0.7524 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.8107, allocations: 40.56 kB / 0.7525 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.8108, allocations: 0 / 0.7525 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.8109, allocations: 40.27 kB / 0.7525 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.8109, allocations: 51.41 kB / 0.7526 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.395e-05/0.811, allocations: 85 kB / 0.7526 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.811, allocations: 25.7 kB / 0.7527 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.811, allocations: 80.14 kB / 0.7527 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.8111, allocations: 8.625 kB / 0.7527 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.8111, allocations: 11.19 kB / 0.7528 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8112, allocations: 314.9 kB / 0.7531 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.8112, allocations: 0 / 0.7531 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.8113, allocations: 0 / 0.7531 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.88e-05/0.8113, allocations: 6.75 kB / 0.7531 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8113, allocations: 0 / 0.7531 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.736e-05/0.8114, allocations: 37.44 kB / 0.7531 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8114, allocations: 7.531 kB / 0.7531 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8114, allocations: 0 / 0.7531 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8114, allocations: 96 / 0.7531 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.8115, allocations: 4 kB / 0.7531 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.8115, allocations: 0 / 0.7531 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.8115, allocations: 6.609 kB / 0.7531 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8115, allocations: 0 / 0.7531 GB, free: 25.27 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 6.682e-05/0.8116, allocations: 101 kB / 0.7532 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.8116, allocations: 7.391 kB / 0.7532 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.8117, allocations: 43.52 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8117, allocations: 0 / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8117, allocations: 3.984 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.8117, allocations: 3.938 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.889e-05/0.8118, allocations: 144.4 kB / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8118, allocations: 0 / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.8118, allocations: 3.875 kB / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8119, allocations: 3.953 kB / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.8119, allocations: 0 / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8119, allocations: 0 / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8119, allocations: 0 / 0.7534 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.336e-05/0.812, allocations: 63.33 kB / 0.7535 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.812, allocations: 77.11 kB / 0.7535 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.812, allocations: 5.203 kB / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.812, allocations: 3.938 kB / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.8121, allocations: 7.5 kB / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.8121, allocations: 3.094 kB / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.8121, allocations: 75.28 kB / 0.7536 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8121, allocations: 4.031 kB / 0.7536 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002/0.8123, allocations: 7.812 kB / 0.7537 GB, free: 24.68 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.0003832/0.8127, allocations: 0.6016 MB / 0.7542 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.677e-05/0.8128, allocations: 3.844 kB / 0.7542 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8128, allocations: 4.094 kB / 0.7542 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-06/0.8128, allocations: 3.938 kB / 0.7543 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.919e-05/0.8129, allocations: 8.891 kB / 0.7543 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.8131, allocations: 85.73 kB / 0.7543 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.8134, allocations: 0.6761 MB / 0.755 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.8134, allocations: 0 / 0.755 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.8134, allocations: 7.5 kB / 0.755 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8134, allocations: 4 kB / 0.755 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.8243, allocations: 0.8006 MB / 0.7558 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.8245, allocations: 148.1 kB / 0.7559 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.341/2.166, allocations: 0 / 0.7559 GB, free: 22.89 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)