Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.001315/0.001315, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001445/0.001445, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8 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.864/0.864, allocations: 134 MB / 446.4 MB, free: 10.22 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.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",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.001979/0.001979, allocations: 70.64 kB / 0.6186 GB, free: 7.301 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1697, allocations: 85.9 MB / 0.7025 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002001/0.1717, allocations: 0.6196 MB / 0.7031 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1739, allocations: 1.447 MB / 0.7045 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.174, allocations: 0 / 0.7045 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.174, allocations: 7.938 kB / 0.7045 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.1741, allocations: 7.984 kB / 0.7045 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.1749, allocations: 182.7 kB / 0.7047 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1751, allocations: 47.94 kB / 0.7047 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1751, allocations: 288 / 0.7047 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.1752, allocations: 23.92 kB / 0.7048 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.1752, allocations: 31.91 kB / 0.7048 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1752, allocations: 4 kB / 0.7048 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.1757, allocations: 223.7 kB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1757, allocations: 8 kB / 0.705 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.1758, allocations: 27.8 kB / 0.705 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1761, allocations: 191.4 kB / 0.7052 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1761, allocations: 0 / 0.7052 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1761, allocations: 0 / 0.7052 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1762, allocations: 0 / 0.7052 GB, free: 14.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005559/0.1767, allocations: 373.2 kB / 0.7056 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1768, allocations: 16.03 kB / 0.7056 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1768, allocations: 34.75 kB / 0.7056 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1768, allocations: 8.891 kB / 0.7056 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.177, allocations: 110.5 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.177, allocations: 4.375 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.177, allocations: 4.312 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1772, allocations: 97.77 kB / 0.7058 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1772, allocations: 0 / 0.7058 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1772, allocations: 0 / 0.7058 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1772, allocations: 4 kB / 0.7058 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1773, allocations: 71.88 kB / 0.7059 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1775, allocations: 148.7 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1776, allocations: 78.53 kB / 0.7061 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.1777, allocations: 68.89 kB / 0.7062 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-06/0.1777, allocations: 0 / 0.7062 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1778, allocations: 34.5 kB / 0.7062 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1778, allocations: 4 kB / 0.7062 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004472/0.1782, allocations: 259.1 kB / 0.7065 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.1783, allocations: 77.11 kB / 0.7065 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1784, allocations: 144 kB / 0.7067 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1784, allocations: 29.7 kB / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1785, allocations: 88.09 kB / 0.7068 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1785, allocations: 19.88 kB / 0.7068 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.1786, allocations: 29.66 kB / 0.7068 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1787, allocations: 322.9 kB / 0.7072 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1789, allocations: 99.94 kB / 0.7072 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.179, allocations: 105.8 kB / 0.7074 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.1793, allocations: 273.9 kB / 0.7076 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1793, allocations: 4 kB / 0.7076 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003964/0.1797, allocations: 328.7 kB / 0.7079 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.1798, allocations: 71.39 kB / 0.708 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1798, allocations: 8.125 kB / 0.708 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1798, allocations: 0 / 0.708 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-06/0.1798, allocations: 3.984 kB / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1798, allocations: 4.062 kB / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.18, allocations: 7.953 kB / 0.708 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.18, allocations: 4 kB / 0.708 GB, free: 11.53 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001385/0.1802, allocations: 151.5 kB / 0.7082 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1802, allocations: 11.89 kB / 0.7082 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.1802, allocations: 8.344 kB / 0.7082 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1802, allocations: 4 kB / 0.7082 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1802, allocations: 0 / 0.7082 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1802, allocations: 4 kB / 0.7082 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1804, allocations: 140.7 kB / 0.7083 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1804, allocations: 3.938 kB / 0.7083 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.1804, allocations: 0 / 0.7083 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1804, allocations: 0 / 0.7083 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1804, allocations: 7.938 kB / 0.7083 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1804, allocations: 0 / 0.7083 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1804, allocations: 3.938 kB / 0.7083 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.1807, allocations: 226.7 kB / 0.7086 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.1807, allocations: 23.86 kB / 0.7086 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1807, allocations: 4 kB / 0.7086 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.1808, allocations: 3.984 kB / 0.7086 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.1808, allocations: 4 kB / 0.7086 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1809, allocations: 8 kB / 0.7086 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.529e-05/0.1809, allocations: 105.6 kB / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1809, allocations: 0 / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003237/0.1813, allocations: 67.92 kB / 0.7088 GB, free: 10.68 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008357/0.1821, allocations: 0.8168 MB / 0.7096 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.1825, allocations: 330.6 kB / 0.7099 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1825, allocations: 0 / 0.7099 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1827, allocations: 119.4 kB / 0.71 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.1828, allocations: 15.27 kB / 0.71 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.1852, allocations: 2.126 MB / 0.7121 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1855, allocations: 0.704 MB / 0.7128 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.973e-06/0.1855, allocations: 0 / 0.7128 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.1856, allocations: 15.44 kB / 0.7128 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1856, allocations: 0 / 0.7128 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.2181, allocations: 3.439 MB / 0.7161 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.05, allocations: 4.734 kB / 0.7162 GB, free: 3.074 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.663180612958968] Failed to read output from testmodel.py, exit status != 0: 11.15751206385903 11.185852214 11.004700007 Calling exit ...