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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 221.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.897/0.897, allocations: 134 MB / 447.2 MB, free: 9.941 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.34 kB / 0.6193 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.176, allocations: 85.92 MB / 0.7032 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002435/0.1784, allocations: 0.572 MB / 0.7037 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1812, allocations: 1.264 MB / 0.705 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.1813, allocations: 0 / 0.705 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.1813, allocations: 0 / 0.705 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-06/0.1813, allocations: 0 / 0.705 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.1818, allocations: 75.67 kB / 0.7051 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.1818, allocations: 7.984 kB / 0.7051 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.1819, allocations: 4 kB / 0.7051 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.1819, allocations: 0 / 0.7051 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.1819, allocations: 0 / 0.7051 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1819, allocations: 7.875 kB / 0.7051 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.1824, allocations: 111.9 kB / 0.7052 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.1824, allocations: 0 / 0.7052 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.1824, allocations: 0 / 0.7052 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1825, allocations: 56.16 kB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1825, allocations: 0 / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1825, allocations: 0 / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1825, allocations: 4 kB / 0.7052 GB, free: 14.96 MB / 0.5294 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.0003702/0.1829, allocations: 250.3 kB / 0.7055 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.183, allocations: 12.03 kB / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.45e-05/0.183, allocations: 192 / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.183, allocations: 34.75 kB / 0.7055 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.183, allocations: 0.9375 kB / 0.7055 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1831, allocations: 110.5 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1832, allocations: 8.297 kB / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1832, allocations: 384 / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1833, allocations: 29.64 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1833, allocations: 4 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1833, allocations: 4 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1833, allocations: 0 / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.1833, allocations: 0 / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1835, allocations: 124.7 kB / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.1836, allocations: 22.52 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.1836, allocations: 4.859 kB / 0.7058 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.184, allocations: 43.98 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.1841, allocations: 34.56 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 4.779e-06/0.1841, allocations: 7.984 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001775/0.1843, allocations: 33.66 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1843, allocations: 51.41 kB / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.1844, allocations: 89.86 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1844, allocations: 29.7 kB / 0.7061 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.1844, allocations: 84.14 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1845, allocations: 0 / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1845, allocations: 13.72 kB / 0.7062 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1847, allocations: 318.8 kB / 0.7065 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1847, allocations: 3.938 kB / 0.7065 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-06/0.1847, allocations: 4.125 kB / 0.7065 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.1847, allocations: 8.859 kB / 0.7065 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1847, allocations: 0 / 0.7065 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.122e-05/0.1848, allocations: 37.64 kB / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1848, allocations: 8 kB / 0.7065 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1849, allocations: 0 / 0.7065 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1849, allocations: 3.938 kB / 0.7066 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.1849, allocations: 0 / 0.7066 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1849, allocations: 7.984 kB / 0.7066 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.1849, allocations: 4.094 kB / 0.7066 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1849, allocations: 3.938 kB / 0.7066 GB, free: 13.4 MB / 0.5294 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 9.74e-05/0.185, allocations: 105.8 kB / 0.7067 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.1851, allocations: 3.938 kB / 0.7067 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1852, allocations: 44.64 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1852, allocations: 0 / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1852, allocations: 3.984 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1852, allocations: 0 / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1853, allocations: 120.8 kB / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1853, allocations: 0 / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.1853, allocations: 3.938 kB / 0.7068 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1853, allocations: 0 / 0.7068 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1853, allocations: 7.938 kB / 0.7068 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1853, allocations: 4 kB / 0.7068 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1854, allocations: 0 / 0.7068 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1855, allocations: 61.06 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.1855, allocations: 7.938 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1855, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.1855, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.1855, allocations: 4.031 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.1855, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.1856, allocations: 79.28 kB / 0.707 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1856, allocations: 0 / 0.707 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003431/0.1859, allocations: 7.984 kB / 0.707 GB, free: 12.88 MB / 0.5294 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.0005767/0.1865, allocations: 0.6084 MB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.118e-05/0.1866, allocations: 4 kB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1866, allocations: 0 / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.1866, allocations: 8.094 kB / 0.7076 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1868, allocations: 4 kB / 0.7076 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.1873, allocations: 106.7 kB / 0.7077 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.437e-05/0.1874, allocations: 59.22 kB / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.1874, allocations: 0 / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.1874, allocations: 7.438 kB / 0.7078 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1874, allocations: 0 / 0.7078 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.2145, allocations: 1.29 MB / 0.709 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 8.062 kB / 0.709 GB, free: 10.84 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.818128022947349] Failed to read output from testmodel.py, exit status != 0: 11.300298618036322 11.316510799 11.130788482 Calling exit ...