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.001626/0.001626, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001446/0.001446, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8912/0.8912, allocations: 133.9 MB / 443.5 MB, free: 13.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",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: 72.06 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1688, allocations: 85.86 MB / 0.698 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001821/0.1707, allocations: 0.599 MB / 0.6986 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1727, allocations: 1.451 MB / 0.7 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.1728, allocations: 1.375 kB / 0.7 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.886e-05/0.1728, allocations: 0 / 0.7 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.1729, allocations: 9.312 kB / 0.7 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.1735, allocations: 181.2 kB / 0.7002 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1736, allocations: 39.34 kB / 0.7002 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1737, allocations: 5.359 kB / 0.7002 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.1737, allocations: 29.47 kB / 0.7003 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.1738, allocations: 25.53 kB / 0.7003 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1738, allocations: 6.75 kB / 0.7003 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1742, allocations: 207.8 kB / 0.7005 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1742, allocations: 10.69 kB / 0.7005 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.1743, allocations: 26.45 kB / 0.7005 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1746, allocations: 191 kB / 0.7007 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1746, allocations: 0 / 0.7007 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1746, allocations: 0 / 0.7007 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.1746, allocations: 1.062 kB / 0.7007 GB, free: 11.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005296/0.1751, allocations: 444.9 kB / 0.7011 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1751, allocations: 15.83 kB / 0.7011 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.3e-05/0.1752, allocations: 192 / 0.7011 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.1752, allocations: 31.91 kB / 0.7012 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.1752, allocations: 8.797 kB / 0.7012 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1754, allocations: 172.6 kB / 0.7013 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1754, allocations: 1.812 kB / 0.7013 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1754, allocations: 3.25 kB / 0.7013 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1757, allocations: 101.3 kB / 0.7014 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1757, allocations: 0 / 0.7014 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1757, allocations: 5.625 kB / 0.7015 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1757, allocations: 4 kB / 0.7015 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1758, allocations: 59.7 kB / 0.7015 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.176, allocations: 176.5 kB / 0.7017 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1761, allocations: 75.16 kB / 0.7018 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.1762, allocations: 64.92 kB / 0.7018 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1762, allocations: 5.312 kB / 0.7018 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1763, allocations: 39.81 kB / 0.7019 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1763, allocations: 0 / 0.7019 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.000452/0.1767, allocations: 250.6 kB / 0.7021 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1768, allocations: 82.47 kB / 0.7022 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1769, allocations: 143.6 kB / 0.7023 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1769, allocations: 29.7 kB / 0.7023 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.177, allocations: 104.1 kB / 0.7024 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.177, allocations: 3.953 kB / 0.7024 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.1771, allocations: 29.7 kB / 0.7025 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1772, allocations: 322.9 kB / 0.7028 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1774, allocations: 103.9 kB / 0.7029 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1775, allocations: 103.9 kB / 0.703 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.1778, allocations: 273.8 kB / 0.7032 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1778, allocations: 0 / 0.7032 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00038/0.1782, allocations: 324.8 kB / 0.7035 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/0.1783, allocations: 75.33 kB / 0.7036 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1783, allocations: 3.984 kB / 0.7036 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1783, allocations: 64 / 0.7036 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1783, allocations: 4 kB / 0.7036 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1783, allocations: 0 / 0.7036 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1785, allocations: 15.89 kB / 0.7036 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1785, allocations: 4 kB / 0.7036 GB, free: 8.785 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: 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.0001214/0.1786, allocations: 152.2 kB / 0.7038 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1786, allocations: 11.89 kB / 0.7038 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.1787, allocations: 16.17 kB / 0.7038 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1787, allocations: 144 / 0.7038 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1787, allocations: 4 kB / 0.7038 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1787, allocations: 3.984 kB / 0.7038 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1788, allocations: 177.6 kB / 0.704 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1788, allocations: 0 / 0.704 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1788, allocations: 0 / 0.704 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1788, allocations: 0 / 0.704 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1788, allocations: 4 kB / 0.704 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1788, allocations: 0 / 0.704 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1788, allocations: 0 / 0.704 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1791, allocations: 230.6 kB / 0.7042 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1792, allocations: 89 kB / 0.7043 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1792, allocations: 0 / 0.7043 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.1792, allocations: 4 kB / 0.7043 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.1793, allocations: 11.98 kB / 0.7043 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1793, allocations: 7.938 kB / 0.7043 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.1794, allocations: 105.1 kB / 0.7044 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 0 / 0.7044 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003032/0.1797, allocations: 67.88 kB / 0.7045 GB, free: 7.805 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: 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.0008024/0.1805, allocations: 0.8131 MB / 0.7053 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.1809, allocations: 326.7 kB / 0.7056 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1809, allocations: 0 / 0.7056 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1811, allocations: 127.3 kB / 0.7057 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1812, allocations: 12.09 kB / 0.7057 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1835, allocations: 2.142 MB / 0.7078 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1838, allocations: 0.6926 MB / 0.7085 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.562e-06/0.1838, allocations: 0 / 0.7085 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1839, allocations: 23.36 kB / 0.7085 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.1839, allocations: 0 / 0.7085 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.204, allocations: 3.325 MB / 0.7118 GB, free: 300 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.563, allocations: 17.73 kB / 0.7118 GB, free: 284 kB / 0.5137 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.453256895008963] Failed to read output from testmodel.py, exit status != 0: 9.013071043009404 8.714426895 8.536736579 Calling exit ...