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.001058/0.001058, allocations: 174.6 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.7142/0.7142, 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.547/1.547, allocations: 221.3 MB / 400.4 MB, free: 5.758 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.0008648/0.0008646, allocations: 92.8 kB / 483.3 MB, free: 5.785 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/3.986e-05, allocations: 5.281 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1451, allocations: 82.31 MB / 0.6405 GB, free: 7.672 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5828/0.728, allocations: 111.5 MB / 0.7494 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.7283, allocations: 84.67 kB / 0.7495 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004935/0.7332, allocations: 1.694 MB / 0.7512 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.956e-06/0.7333, allocations: 0 / 0.7512 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7333, allocations: 0 / 0.7512 GB, free: 27.76 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.0002824/0.7336, allocations: 327.7 kB / 0.7515 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7336, allocations: 11.53 kB / 0.7515 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.7337, allocations: 30.56 kB / 0.7515 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.946e-05/0.7337, allocations: 0 / 0.7515 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.7338, allocations: 166.7 kB / 0.7517 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.7338, allocations: 4 kB / 0.7517 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.7338, allocations: 2.953 kB / 0.7517 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.7339, allocations: 31.61 kB / 0.7517 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7339, allocations: 3.984 kB / 0.7517 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.7339, allocations: 0 / 0.7517 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.734, allocations: 3.938 kB / 0.7517 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.734, allocations: 3.844 kB / 0.7517 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.7341, allocations: 148.4 kB / 0.7519 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.7342, allocations: 22.33 kB / 0.7519 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.7342, allocations: 8.703 kB / 0.7519 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.7347, allocations: 0.5537 MB / 0.7524 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7348, allocations: 33.88 kB / 0.7525 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.594e-06/0.7348, allocations: 0 / 0.7525 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.7349, allocations: 40.09 kB / 0.7525 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.735, allocations: 59.28 kB / 0.7526 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.748e-05/0.735, allocations: 85 kB / 0.7526 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.735, allocations: 25.7 kB / 0.7527 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.7351, allocations: 80.14 kB / 0.7527 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.7351, allocations: 8.625 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.7351, allocations: 0 / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7353, allocations: 314.5 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.7353, allocations: 3.844 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.7353, allocations: 6.625 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.525e-05/0.7353, allocations: 0 / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7353, allocations: 3.938 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.033e-05/0.7354, allocations: 41.28 kB / 0.7531 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7354, allocations: 4.938 kB / 0.7531 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7354, allocations: 0 / 0.7531 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7354, allocations: 2.953 kB / 0.7531 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.7355, allocations: 3.844 kB / 0.7531 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7355, allocations: 0 / 0.7531 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.7355, allocations: 4.094 kB / 0.7531 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7355, allocations: 0 / 0.7531 GB, free: 25.52 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 7.558e-05/0.7356, allocations: 104.8 kB / 0.7532 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.7356, allocations: 3.953 kB / 0.7532 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.7357, allocations: 38.78 kB / 0.7533 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.7357, allocations: 0 / 0.7533 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.7357, allocations: 1 kB / 0.7533 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7358, allocations: 11.91 kB / 0.7533 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.7e-05/0.7358, allocations: 144.2 kB / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.7358, allocations: 0 / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.7359, allocations: 0 / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7359, allocations: 7.828 kB / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.7359, allocations: 0.875 kB / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.7359, allocations: 0 / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7359, allocations: 2.672 kB / 0.7534 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.736, allocations: 59.98 kB / 0.7535 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.736, allocations: 79.92 kB / 0.7536 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.736, allocations: 3.953 kB / 0.7536 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.736, allocations: 3.938 kB / 0.7536 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.736, allocations: 4 kB / 0.7536 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.7361, allocations: 0 / 0.7536 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.7361, allocations: 79.16 kB / 0.7536 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7361, allocations: 0 / 0.7536 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001893/0.7363, allocations: 7.875 kB / 0.7536 GB, free: 24.93 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.000399/0.7367, allocations: 0.6047 MB / 0.7542 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.216e-05/0.7368, allocations: 7.438 kB / 0.7542 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7368, allocations: 3.812 kB / 0.7542 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.7368, allocations: 3.938 kB / 0.7543 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.399e-05/0.7369, allocations: 8.109 kB / 0.7543 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.7371, allocations: 81.78 kB / 0.7543 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.7374, allocations: 0.6752 MB / 0.755 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.7374, allocations: 0 / 0.755 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.7375, allocations: 7.438 kB / 0.755 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.7375, allocations: 0 / 0.755 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.748, allocations: 0.8123 MB / 0.7558 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.7482, allocations: 159 kB / 0.7559 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/2.141, allocations: 0 / 0.7559 GB, free: 23.14 MB / 0.5105 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)