Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.001838/0.001838, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002315/0.002315, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.754 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.8439/0.8439, allocations: 134 MB / 446.4 MB, free: 9.938 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.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",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.002035/0.002035, allocations: 67.12 kB / 0.6185 GB, free: 6.812 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1786, allocations: 85.91 MB / 0.7024 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001867/0.1805, allocations: 0.6226 MB / 0.703 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005145/0.181, allocations: 175.7 kB / 0.7032 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.181, allocations: 0 / 0.7032 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.181, allocations: 3.938 kB / 0.7032 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1812, allocations: 7.938 kB / 0.7032 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1814, allocations: 79.69 kB / 0.7033 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.1815, allocations: 23.97 kB / 0.7033 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.1815, allocations: 3.984 kB / 0.7033 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.1816, allocations: 27.86 kB / 0.7033 GB, free: 56 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1816, allocations: 19.91 kB / 0.7034 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1816, allocations: 4 kB / 0.7034 GB, free: 32 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1818, allocations: 43.89 kB / 0.7034 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1818, allocations: 7.984 kB / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.1818, allocations: 11.92 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.182, allocations: 99.88 kB / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.182, allocations: 0 / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.182, allocations: 0 / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.182, allocations: 0 / 0.7035 GB, free: 15.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005564/0.1826, allocations: 294.1 kB / 0.7038 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1826, allocations: 12.92 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.1827, allocations: 34.75 kB / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.1827, allocations: 8.875 kB / 0.7039 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1828, allocations: 114.5 kB / 0.704 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1828, allocations: 384 / 0.704 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1829, allocations: 8.375 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.183, allocations: 54.17 kB / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.183, allocations: 3.938 kB / 0.704 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.183, allocations: 7.984 kB / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1831, allocations: 4 kB / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1832, allocations: 31.97 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.1835, allocations: 212 kB / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1838, allocations: 74.39 kB / 0.7043 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.1838, allocations: 24.94 kB / 0.7044 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1838, allocations: 4 kB / 0.7044 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1839, allocations: 38.5 kB / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1839, allocations: 0 / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02671/0.2106, allocations: 1.601 MB / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.2106, allocations: 55.41 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2108, allocations: 121.8 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.2108, allocations: 33.7 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.2109, allocations: 84.14 kB / 0.7063 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.211, allocations: 31.72 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2112, allocations: 25.72 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2113, allocations: 322.8 kB / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.2119, allocations: 139.9 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.2124, allocations: 147.9 kB / 0.7069 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2134, allocations: 296.8 kB / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2134, allocations: 0 / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001234/0.2146, allocations: 342 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2146, allocations: 6.5 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2146, allocations: 0 / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2147, allocations: 96 / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.2162, allocations: 67.86 kB / 0.7076 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2162, allocations: 0 / 0.7076 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.2176, allocations: 47.95 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.2176, allocations: 7.984 kB / 0.7076 GB, free: 11.47 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 (9): * Single equations (assignments): 9 * 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 0.0001963/0.2178, allocations: 117.7 kB / 0.7077 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.2179, allocations: 11.95 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2181, allocations: 16.38 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2181, allocations: 4 kB / 0.7078 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2181, allocations: 4 kB / 0.7078 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2181, allocations: 432 / 0.7078 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/0.2239, allocations: 0.7272 MB / 0.7085 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2239, allocations: 0 / 0.7085 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.225, allocations: 51.94 kB / 0.7085 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.225, allocations: 4 kB / 0.7085 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.225, allocations: 7.938 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.225, allocations: 3.938 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.225, allocations: 7.984 kB / 0.7086 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.226, allocations: 321.2 kB / 0.7089 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.226, allocations: 11.95 kB / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.2261, allocations: 3.938 kB / 0.7089 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.2271, allocations: 43.94 kB / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.2271, allocations: 4 kB / 0.7089 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.2272, allocations: 3.984 kB / 0.7089 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.734e-05/0.2272, allocations: 99.22 kB / 0.709 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2272, allocations: 4 kB / 0.709 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000405/0.2276, allocations: 91.92 kB / 0.7091 GB, free: 9.859 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001408/0.2291, allocations: 0.8662 MB / 0.71 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2301, allocations: 247.8 kB / 0.7102 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2301, allocations: 480 / 0.7102 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.2305, allocations: 91.89 kB / 0.7103 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.2308, allocations: 10.39 kB / 0.7103 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.2376, allocations: 2.686 MB / 0.7129 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.2377, allocations: 67.34 kB / 0.713 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004846/0.2382, allocations: 51.98 kB / 0.713 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.2386, allocations: 23.42 kB / 0.713 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.2386, allocations: 0 / 0.713 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.2827, allocations: 11.28 MB / 0.7241 GB, free: 10.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.69, allocations: 13.14 kB / 0.7241 GB, free: 10.45 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.314187851268798] Failed to read output from testmodel.py, exit status != 0: 11.796678294893354 11.827569311 11.64023798 Calling exit ...