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.001772/0.001772, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001648/0.001648, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.793 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.8386/0.8386, allocations: 134 MB / 446.4 MB, free: 9.926 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="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: 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.002022/0.002022, allocations: 62.53 kB / 0.6185 GB, free: 6.805 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 85.91 MB / 0.7024 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00185/0.1755, allocations: 0.576 MB / 0.703 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1774, allocations: 1.268 MB / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.1775, allocations: 0 / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1775, allocations: 0 / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-06/0.1775, allocations: 4 kB / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1779, allocations: 67.69 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.178, allocations: 8 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.178, allocations: 0 / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.178, allocations: 0 / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.1781, allocations: 7.922 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.395e-06/0.1781, allocations: 0 / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.1785, allocations: 111.9 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.1785, allocations: 0 / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.1785, allocations: 0 / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1786, allocations: 56.16 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1787, allocations: 0 / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1787, allocations: 0 / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.1787, allocations: 4 kB / 0.7045 GB, free: 14.87 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.0003665/0.179, allocations: 254.2 kB / 0.7047 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1791, allocations: 12.03 kB / 0.7047 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1791, allocations: 30.75 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.1792, allocations: 0.9375 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1793, allocations: 102.5 kB / 0.7048 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1793, allocations: 4.375 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.1793, allocations: 384 / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1794, allocations: 33.83 kB / 0.7049 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1794, allocations: 0 / 0.7049 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1794, allocations: 3.984 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1794, allocations: 3.938 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.1795, allocations: 7.984 kB / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1796, allocations: 120.7 kB / 0.705 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.1797, allocations: 18.61 kB / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.1797, allocations: 4.859 kB / 0.705 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.18, allocations: 40.03 kB / 0.7051 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1801, allocations: 38.5 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1801, allocations: 0 / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.1802, allocations: 45.58 kB / 0.7052 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1803, allocations: 51.41 kB / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.1803, allocations: 89.86 kB / 0.7053 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1804, allocations: 25.7 kB / 0.7053 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.1804, allocations: 84.14 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1804, allocations: 0 / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.1805, allocations: 13.84 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1806, allocations: 314.8 kB / 0.7057 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.1806, allocations: 8 kB / 0.7057 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.1806, allocations: 0 / 0.7057 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.1807, allocations: 8.859 kB / 0.7057 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1807, allocations: 3.938 kB / 0.7057 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.863e-05/0.1807, allocations: 37.62 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1807, allocations: 11.94 kB / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1808, allocations: 0 / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1808, allocations: 4.094 kB / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.1808, allocations: 0 / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1808, allocations: 0 / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.1808, allocations: 4 kB / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1808, allocations: 0 / 0.7058 GB, free: 13.33 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.217e-05/0.1809, allocations: 105.8 kB / 0.7059 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.1809, allocations: 3.938 kB / 0.7059 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.181, allocations: 48.62 kB / 0.7059 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.181, allocations: 4.031 kB / 0.7059 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1811, allocations: 0 / 0.7059 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1811, allocations: 0 / 0.7059 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1812, allocations: 116.7 kB / 0.706 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1812, allocations: 7.984 kB / 0.7061 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.1812, allocations: 7.938 kB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1812, allocations: 3.938 kB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1812, allocations: 0 / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1812, allocations: 0 / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1812, allocations: 0 / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.648e-05/0.1813, allocations: 57.14 kB / 0.7061 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.1813, allocations: 11.95 kB / 0.7061 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1813, allocations: 4 kB / 0.7061 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.1813, allocations: 0 / 0.7061 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.1813, allocations: 0 / 0.7061 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.1813, allocations: 0 / 0.7061 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.1814, allocations: 75.28 kB / 0.7062 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1814, allocations: 0 / 0.7062 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002037/0.1816, allocations: 12 kB / 0.7062 GB, free: 12.8 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.0005103/0.1821, allocations: 0.6123 MB / 0.7068 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.1822, allocations: 8.031 kB / 0.7068 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1822, allocations: 0 / 0.7068 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-06/0.1822, allocations: 4 kB / 0.7068 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1823, allocations: 7.531 kB / 0.7068 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1826, allocations: 110.7 kB / 0.7069 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.892e-05/0.1827, allocations: 59.2 kB / 0.707 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.1827, allocations: 4.125 kB / 0.707 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.1827, allocations: 15.38 kB / 0.707 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1827, allocations: 0 / 0.707 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.2115, allocations: 1.628 MB / 0.7086 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.08, allocations: 9.047 kB / 0.7086 GB, free: 10.39 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.66707762517035] Failed to read output from testmodel.py, exit status != 0: 11.178648398257792 11.19615087 11.014215347 Calling exit ...