Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_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.007728/0.007728, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9271/0.9271, allocations: 135.2 MB / 151 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.432/1.432, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001125/0.001125, allocations: 97.2 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3853, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5287, allocations: 111.6 MB / 0.7585 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.529, allocations: 83.95 kB / 0.7586 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005103/0.5341, allocations: 1.708 MB / 0.7603 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5341, allocations: 0 / 0.7603 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5341, allocations: 0 / 0.7603 GB, free: 2.594 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002899/0.5344, allocations: 336 kB / 0.7606 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5345, allocations: 8.031 kB / 0.7606 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.5345, allocations: 30.56 kB / 0.7606 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.5345, allocations: 3.938 kB / 0.7606 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5347, allocations: 163 kB / 0.7608 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.5347, allocations: 0 / 0.7608 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.5347, allocations: 8 kB / 0.7608 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.5348, allocations: 33.62 kB / 0.7608 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5348, allocations: 0 / 0.7608 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.5348, allocations: 0 / 0.7608 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5348, allocations: 0 / 0.7608 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.5349, allocations: 4 kB / 0.7608 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.535, allocations: 149.6 kB / 0.761 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.5351, allocations: 14.67 kB / 0.761 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/0.5356, allocations: 0.5622 MB / 0.7615 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5356, allocations: 38.5 kB / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5356, allocations: 0 / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.5358, allocations: 33.7 kB / 0.7616 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.5358, allocations: 51.41 kB / 0.7617 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.5359, allocations: 89.12 kB / 0.7617 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5359, allocations: 29.64 kB / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.5359, allocations: 80.14 kB / 0.7618 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.5359, allocations: 11.84 kB / 0.7619 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.536, allocations: 0 / 0.7619 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5361, allocations: 314.8 kB / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.5361, allocations: 0 / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.5361, allocations: 0 / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.5361, allocations: 11.94 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5361, allocations: 4.062 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.518e-05/0.5362, allocations: 33.66 kB / 0.7622 GB, free: 272 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5362, allocations: 8 kB / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5362, allocations: 0 / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5362, allocations: 0 / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.5363, allocations: 0 / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5363, allocations: 3.984 kB / 0.7622 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.5363, allocations: 0 / 0.7622 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.5363, allocations: 4 kB / 0.7622 GB, free: 256 kB / 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 () * Number of clocked 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 7.47e-05/0.5364, allocations: 109.9 kB / 0.7623 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.5364, allocations: 3.953 kB / 0.7623 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.5365, allocations: 44.7 kB / 0.7624 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5365, allocations: 7.984 kB / 0.7624 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5366, allocations: 3.984 kB / 0.7624 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5366, allocations: 0 / 0.7624 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.5367, allocations: 141.7 kB / 0.7625 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5367, allocations: 4 kB / 0.7625 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.5367, allocations: 8.031 kB / 0.7625 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5367, allocations: 3.953 kB / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.5367, allocations: 0 / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5367, allocations: 0 / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5367, allocations: 0 / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.753e-05/0.5368, allocations: 65.06 kB / 0.7626 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.5369, allocations: 77.11 kB / 0.7627 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.5369, allocations: 7.984 kB / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.5369, allocations: 0 / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.5369, allocations: 0 / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5369, allocations: 0 / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.537, allocations: 79.28 kB / 0.7628 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.537, allocations: 0 / 0.7628 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002085/0.5372, allocations: 11.98 kB / 0.7628 GB, free: 15.59 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 (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.0003725/0.5376, allocations: 0.5969 MB / 0.7633 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.15e-05/0.5376, allocations: 11.88 kB / 0.7634 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5376, allocations: 0 / 0.7634 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.5377, allocations: 8 kB / 0.7634 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.934e-05/0.5377, allocations: 3.953 kB / 0.7634 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.538, allocations: 116.4 kB / 0.7635 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.5383, allocations: 0.6731 MB / 0.7641 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.5383, allocations: 4 kB / 0.7641 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.5383, allocations: 7.438 kB / 0.7642 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.5383, allocations: 0 / 0.7642 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.5492, allocations: 0.7981 MB / 0.7649 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.5494, allocations: 177 kB / 0.7651 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/1.987, allocations: 5.688 kB / 0.7651 GB, free: 13.15 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)