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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 105.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8253/0.8253, allocations: 134 MB / 436.6 MB, free: 1.27 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.31 kB / 0.6052 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 84.67 MB / 0.6878 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001695/0.1561, allocations: 0.5818 MB / 0.6884 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1578, allocations: 1.252 MB / 0.6896 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.1578, allocations: 0 / 0.6896 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.1578, allocations: 7.938 kB / 0.6896 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.1578, allocations: 0 / 0.6896 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1581, allocations: 59.75 kB / 0.6897 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.1582, allocations: 4 kB / 0.6897 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.1582, allocations: 4 kB / 0.6897 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.117e-05/0.1582, allocations: 0 / 0.6897 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.1583, allocations: 7.984 kB / 0.6897 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.1583, allocations: 3.938 kB / 0.6897 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.1585, allocations: 87.91 kB / 0.6898 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.1585, allocations: 4 kB / 0.6898 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.1585, allocations: 3.984 kB / 0.6898 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1586, allocations: 44.17 kB / 0.6898 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1587, allocations: 3.984 kB / 0.6899 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1587, allocations: 0 / 0.6899 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.1587, allocations: 0 / 0.6899 GB, free: 8.961 MB / 0.5137 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.0003397/0.159, allocations: 333.6 kB / 0.6902 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.159, allocations: 8.031 kB / 0.6902 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.1591, allocations: 30.75 kB / 0.6902 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.1591, allocations: 4.922 kB / 0.6902 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1592, allocations: 164.4 kB / 0.6904 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1592, allocations: 4.375 kB / 0.6904 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1592, allocations: 4.375 kB / 0.6904 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.146e-05/0.1593, allocations: 33.77 kB / 0.6904 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1593, allocations: 4 kB / 0.6904 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.1593, allocations: 0 / 0.6904 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1593, allocations: 0 / 0.6904 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.1593, allocations: 8 kB / 0.6904 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1595, allocations: 145.7 kB / 0.6906 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.1595, allocations: 18.61 kB / 0.6906 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.1596, allocations: 4.859 kB / 0.6906 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/0.1601, allocations: 0.5661 MB / 0.6911 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1602, allocations: 38.44 kB / 0.6912 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1602, allocations: 0 / 0.6912 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.1603, allocations: 33.69 kB / 0.6912 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1603, allocations: 55.41 kB / 0.6913 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.1604, allocations: 93.86 kB / 0.6913 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1604, allocations: 29.83 kB / 0.6914 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.1604, allocations: 80.14 kB / 0.6915 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1604, allocations: 3.953 kB / 0.6915 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1605, allocations: 9.719 kB / 0.6915 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1606, allocations: 314.8 kB / 0.6918 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1606, allocations: 0 / 0.6918 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.1606, allocations: 11.86 kB / 0.6918 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.1607, allocations: 12.92 kB / 0.6918 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1607, allocations: 4 kB / 0.6918 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.144e-05/0.1607, allocations: 29.7 kB / 0.6918 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1607, allocations: 11.94 kB / 0.6918 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1607, allocations: 0 / 0.6918 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1608, allocations: 0 / 0.6918 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-05/0.1608, allocations: 0 / 0.6918 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1608, allocations: 0 / 0.6918 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.1608, allocations: 4 kB / 0.6918 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1608, allocations: 0 / 0.6918 GB, free: 6.57 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.1609, allocations: 113.9 kB / 0.6919 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.1609, allocations: 7.875 kB / 0.692 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.944e-05/0.161, allocations: 40.83 kB / 0.692 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.161, allocations: 0 / 0.692 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.161, allocations: 0 / 0.692 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.161, allocations: 0 / 0.692 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1611, allocations: 145.7 kB / 0.6921 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1611, allocations: 0 / 0.6921 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.1611, allocations: 8.031 kB / 0.6921 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1611, allocations: 3.938 kB / 0.6921 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.1611, allocations: 0 / 0.6921 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1611, allocations: 4 kB / 0.6921 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1611, allocations: 0 / 0.6921 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.865e-05/0.1612, allocations: 65.06 kB / 0.6922 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1613, allocations: 84.98 kB / 0.6923 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.1613, allocations: 32 / 0.6923 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-06/0.1613, allocations: 4 kB / 0.6923 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1613, allocations: 0 / 0.6923 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.1613, allocations: 4 kB / 0.6923 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.1613, allocations: 75.28 kB / 0.6924 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1613, allocations: 0 / 0.6924 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001946/0.1615, allocations: 4 kB / 0.6924 GB, free: 5.914 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000433/0.162, allocations: 0.62 MB / 0.693 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.162, allocations: 4 kB / 0.693 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.162, allocations: 0 / 0.693 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.1621, allocations: 4 kB / 0.693 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1622, allocations: 4 kB / 0.693 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.1625, allocations: 112.6 kB / 0.6931 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1628, allocations: 0.6806 MB / 0.6938 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.1628, allocations: 0 / 0.6938 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.1628, allocations: 7.438 kB / 0.6938 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1628, allocations: 0 / 0.6938 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1842, allocations: 1.017 MB / 0.6948 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.273, allocations: 4 kB / 0.6948 GB, free: 3.477 MB / 0.5137 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.6715675923042] Failed to read output from testmodel.py, exit status != 0: 8.338865967933089 8.35371706 8.192278538 Calling exit ...