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.0008777/0.0008777, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0009131/0.0009131, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6981/0.6981, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.242e-06/1.242e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.648e-05, allocations: 2.969 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001063/0.001079, allocations: 0.6283 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.001406, allocations: 183.2 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.001433, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.001449, allocations: 3.938 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.001595, allocations: 4 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.001752, allocations: 75.67 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.00181, allocations: 27.92 kB / 0.6191 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.001853, allocations: 0 / 0.6191 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.001899, allocations: 19.92 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.001962, allocations: 19.95 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.001978, allocations: 4 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.00207, allocations: 51.83 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.002086, allocations: 4 kB / 0.6192 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.002104, allocations: 11.92 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.002277, allocations: 99.7 kB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002278, allocations: 0 / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.243e-06/0.00228, allocations: 3.938 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002284, allocations: 0 / 0.6193 GB, free: 12.45 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.0004464/0.00273, allocations: 286.1 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.002773, allocations: 12.03 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.002805, allocations: 38.73 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.002833, allocations: 12.89 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.002942, allocations: 121.7 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.002952, allocations: 384 / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.002974, allocations: 8.328 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003098, allocations: 54.22 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.00311, allocations: 192 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.00312, allocations: 4.375 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.003127, allocations: 8.125 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.003215, allocations: 31.97 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.003459, allocations: 208.1 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.003589, allocations: 82.44 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.003631, allocations: 20.94 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.003645, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.003665, allocations: 38.5 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.32e-07/0.003666, allocations: 0 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.01204/0.01571, allocations: 1.613 MB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.01574, allocations: 51.41 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.01582, allocations: 121.8 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.01586, allocations: 29.64 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.01591, allocations: 96.08 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.01596, allocations: 23.78 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01608, allocations: 25.72 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.01616, allocations: 322.8 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.01648, allocations: 139.9 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.0168, allocations: 144.3 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.01746, allocations: 300.9 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01747, allocations: 3.938 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007704/0.01824, allocations: 337.5 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01825, allocations: 6.031 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01826, allocations: 0 / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01827, allocations: 4 kB / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/0.01891, allocations: 63.92 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01891, allocations: 0 / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.01944, allocations: 43.95 kB / 0.6234 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.01947, allocations: 7.984 kB / 0.6234 GB, free: 8.051 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.0001181/0.01959, allocations: 118.7 kB / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.01963, allocations: 7.953 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.345e-05/0.0197, allocations: 20.44 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01971, allocations: 0 / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01971, allocations: 4 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01971, allocations: 0 / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.02239, allocations: 0.7395 MB / 0.6242 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.02239, allocations: 8.125 kB / 0.6242 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.02283, allocations: 55.88 kB / 0.6243 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.02284, allocations: 4 kB / 0.6243 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.02286, allocations: 0 / 0.6243 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02287, allocations: 4 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02287, allocations: 0 / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.02351, allocations: 325.1 kB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.02352, allocations: 7.953 kB / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.02356, allocations: 0 / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.02397, allocations: 43.94 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.024, allocations: 15.81 kB / 0.6247 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.02402, allocations: 7.984 kB / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.02407, allocations: 95.31 kB / 0.6248 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.02407, allocations: 0 / 0.6248 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002747/0.02434, allocations: 95.92 kB / 0.6249 GB, free: 6.422 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.000906/0.02525, allocations: 0.8662 MB / 0.6257 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006505/0.0259, allocations: 239.9 kB / 0.6259 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0259, allocations: 4 kB / 0.6259 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.02616, allocations: 91.89 kB / 0.626 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.02638, allocations: 11.92 kB / 0.626 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.03018, allocations: 2.68 MB / 0.6287 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.03023, allocations: 71.33 kB / 0.6287 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.03046, allocations: 48 kB / 0.6288 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.03078, allocations: 24.42 kB / 0.6288 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.03078, allocations: 0 / 0.6288 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.05133, allocations: 11.46 MB / 0.64 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.11, allocations: 2.188 kB / 0.64 GB, free: 6.875 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 & /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: 9.696888908743858] Failed to read output from testmodel.py, exit status != 0: 7.193074291571975 7.203569638 7.19852848 Calling exit ...