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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 105.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8627/0.8627, allocations: 134 MB / 436.7 MB, free: 1.652 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 72.5 kB / 0.6052 GB, free: 15.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2241, allocations: 84.67 MB / 0.6878 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001847/0.226, allocations: 0.6178 MB / 0.6885 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.228, allocations: 1.4 MB / 0.6898 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.228, allocations: 0 / 0.6898 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.509e-05/0.2281, allocations: 3.938 kB / 0.6898 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.2282, allocations: 0 / 0.6898 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.2288, allocations: 179.6 kB / 0.69 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.229, allocations: 47.89 kB / 0.69 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.229, allocations: 4.281 kB / 0.69 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.229, allocations: 19.92 kB / 0.6901 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.2291, allocations: 31.91 kB / 0.6901 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2291, allocations: 0 / 0.6901 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.2295, allocations: 203.7 kB / 0.6903 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.2295, allocations: 15.92 kB / 0.6903 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.2296, allocations: 27.88 kB / 0.6903 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2299, allocations: 187.4 kB / 0.6905 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2299, allocations: 0 / 0.6905 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2299, allocations: 0 / 0.6905 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2299, allocations: 0 / 0.6905 GB, free: 8.469 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.000585/0.2305, allocations: 448.5 kB / 0.6909 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2305, allocations: 12.02 kB / 0.6909 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.2306, allocations: 38.69 kB / 0.691 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.2306, allocations: 8.891 kB / 0.691 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.2308, allocations: 176.3 kB / 0.6912 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2308, allocations: 4.375 kB / 0.6912 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.2308, allocations: 4.375 kB / 0.6912 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.231, allocations: 101.8 kB / 0.6913 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.231, allocations: 0 / 0.6913 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.231, allocations: 0 / 0.6913 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.231, allocations: 0 / 0.6913 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.2311, allocations: 59.95 kB / 0.6913 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.2313, allocations: 181.6 kB / 0.6915 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.2314, allocations: 82.47 kB / 0.6916 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.2315, allocations: 64.89 kB / 0.6916 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.2316, allocations: 0 / 0.6916 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2316, allocations: 34.5 kB / 0.6917 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2316, allocations: 0 / 0.6917 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004974/0.2321, allocations: 259.1 kB / 0.6919 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.2321, allocations: 81.11 kB / 0.692 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.2323, allocations: 145.8 kB / 0.6921 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2323, allocations: 29.7 kB / 0.6922 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.2324, allocations: 88.14 kB / 0.6922 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.2324, allocations: 11.84 kB / 0.6923 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.2325, allocations: 29.7 kB / 0.6923 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2326, allocations: 322.8 kB / 0.6926 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2328, allocations: 99.94 kB / 0.6927 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.233, allocations: 103.9 kB / 0.6928 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.2333, allocations: 277.8 kB / 0.6931 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2333, allocations: 4 kB / 0.6931 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003874/0.2337, allocations: 323 kB / 0.6934 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.2338, allocations: 76.62 kB / 0.6934 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2338, allocations: 0 / 0.6934 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2338, allocations: 7.875 kB / 0.6934 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.2338, allocations: 0 / 0.6934 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2338, allocations: 0 / 0.6934 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.234, allocations: 11.95 kB / 0.6935 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.234, allocations: 4 kB / 0.6935 GB, free: 5.148 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.0001369/0.2341, allocations: 155.5 kB / 0.6936 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.2342, allocations: 11.89 kB / 0.6936 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.2342, allocations: 8.25 kB / 0.6936 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2343, allocations: 0 / 0.6936 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2343, allocations: 0 / 0.6936 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2343, allocations: 0 / 0.6936 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2344, allocations: 173.6 kB / 0.6938 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2344, allocations: 3.938 kB / 0.6938 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2344, allocations: 0 / 0.6938 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2344, allocations: 0 / 0.6938 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.2344, allocations: 8 kB / 0.6938 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2344, allocations: 0 / 0.6938 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2344, allocations: 4.141 kB / 0.6938 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.2347, allocations: 234.6 kB / 0.694 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.2348, allocations: 88.94 kB / 0.6941 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2348, allocations: 4 kB / 0.6941 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.2348, allocations: 3.984 kB / 0.6941 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.2349, allocations: 8 kB / 0.6941 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.2349, allocations: 8.031 kB / 0.6941 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.235, allocations: 109.6 kB / 0.6942 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.235, allocations: 0 / 0.6942 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002831/0.2353, allocations: 63.92 kB / 0.6943 GB, free: 4.168 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.0008335/0.2361, allocations: 0.8131 MB / 0.6951 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2365, allocations: 334.6 kB / 0.6954 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2365, allocations: 0 / 0.6954 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2367, allocations: 123.4 kB / 0.6955 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2368, allocations: 7.938 kB / 0.6955 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.2392, allocations: 2.13 MB / 0.6976 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.2396, allocations: 0.6962 MB / 0.6983 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.285e-06/0.2396, allocations: 4 kB / 0.6983 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.2396, allocations: 15.62 kB / 0.6983 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.2396, allocations: 3.938 kB / 0.6983 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.2658, allocations: 3.291 MB / 0.7015 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.251, allocations: 9.219 kB / 0.7015 GB, free: 12.67 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.804410052951425] Failed to read output from testmodel.py, exit status != 0: 8.323108103591949 8.35035679 8.115463356 Calling exit ...