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.0007912/0.0007912, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008595/0.0008595, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9198/0.9198, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.718/0.718, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.382e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001835/0.001859, allocations: 0.6356 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.002377, allocations: 175.2 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.002433, allocations: 4 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.002458, allocations: 3.938 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.002757, allocations: 3.938 kB / 0.619 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.00306, allocations: 79.67 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.003158, allocations: 27.92 kB / 0.6191 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.003234, allocations: 4 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.003302, allocations: 19.92 kB / 0.6191 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.003397, allocations: 19.95 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.003424, allocations: 0 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.003572, allocations: 47.83 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.0036, allocations: 11.94 kB / 0.6192 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.003631, allocations: 15.97 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003794, allocations: 87.78 kB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.003798, allocations: 0 / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.003799, allocations: 0 / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.003806, allocations: 0 / 0.6193 GB, free: 12.48 MB / 0.5886 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.0006188/0.004424, allocations: 294.1 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/0.004497, allocations: 8.031 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.004545, allocations: 42.73 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.004592, allocations: 8.891 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.004732, allocations: 109.8 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.004745, allocations: 4.375 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.004768, allocations: 384 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.004934, allocations: 66.16 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.004952, allocations: 192 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.004967, allocations: 4.375 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.004976, allocations: 4.125 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.005076, allocations: 31.97 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.005387, allocations: 208 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.005534, allocations: 78.52 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.005576, allocations: 20.94 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.005596, allocations: 4 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.005626, allocations: 38.5 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.005628, allocations: 3.938 kB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.01213/0.01775, allocations: 1.613 MB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.01781, allocations: 55.41 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.01792, allocations: 121.8 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/0.01799, allocations: 33.7 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.01805, allocations: 88.09 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.0181, allocations: 27.78 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.01822, allocations: 25.67 kB / 0.6221 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.01831, allocations: 318.8 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.01866, allocations: 139.9 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.01899, allocations: 151.9 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.01963, allocations: 292.8 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01963, allocations: 3.938 kB / 0.6229 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007897/0.02042, allocations: 333.5 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.02045, allocations: 8 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.02045, allocations: 0 / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.02047, allocations: 0.6562 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.02116, allocations: 63.92 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.02117, allocations: 0 / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.02169, allocations: 43.95 kB / 0.6234 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.02172, allocations: 7.984 kB / 0.6234 GB, free: 8.086 MB / 0.5886 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.0001473/0.02187, allocations: 118.8 kB / 0.6235 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.02192, allocations: 11.89 kB / 0.6235 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.02201, allocations: 20.38 kB / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02202, allocations: 0 / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.02202, allocations: 4 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02203, allocations: 0 / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.02474, allocations: 0.7473 MB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02474, allocations: 64 / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.02517, allocations: 55.94 kB / 0.6243 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.02518, allocations: 0 / 0.6243 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.02521, allocations: 4 kB / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.02521, allocations: 0 / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.02521, allocations: 7.875 kB / 0.6243 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.02582, allocations: 325.2 kB / 0.6246 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.02584, allocations: 3.953 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.02588, allocations: 4 kB / 0.6246 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.02628, allocations: 39.94 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.02629, allocations: 11.94 kB / 0.6247 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.02632, allocations: 7.984 kB / 0.6247 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.02636, allocations: 91.28 kB / 0.6248 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.02636, allocations: 0 / 0.6248 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002696/0.02663, allocations: 103.9 kB / 0.6249 GB, free: 6.453 MB / 0.5886 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.0008879/0.02752, allocations: 0.8546 MB / 0.6257 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000639/0.02816, allocations: 247.8 kB / 0.6259 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02816, allocations: 0 / 0.6259 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.02841, allocations: 91.89 kB / 0.626 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.02862, allocations: 18.44 kB / 0.626 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.03229, allocations: 2.684 MB / 0.6287 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.03234, allocations: 71.33 kB / 0.6287 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.03258, allocations: 48 kB / 0.6288 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.03289, allocations: 24.48 kB / 0.6288 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.03289, allocations: 0 / 0.6288 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.06031, allocations: 11.46 MB / 0.64 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.197, allocations: 6.25 kB / 0.64 GB, free: 6.902 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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: 10.020003321580589] Failed to read output from testmodel.py, exit status != 0: 7.279786659404635 7.295091947 7.288363598 Calling exit ...