Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007624/0.0007624, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008374/0.0008374, allocations: 216 kB / 22.25 MB, free: 3.73 MB / 13.93 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.9344/0.9344, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.813/0.813, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_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.0009716/0.0009716, allocations: 72.03 kB / 0.7182 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5497, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001526/0.5512, allocations: 0.6454 MB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000394/0.5516, allocations: 174.5 kB / 0.8186 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.5517, allocations: 0 / 0.8186 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.5517, allocations: 7.094 kB / 0.8186 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.5519, allocations: 13.3 kB / 0.8186 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.5521, allocations: 74.8 kB / 0.8187 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.5522, allocations: 26.55 kB / 0.8187 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.5522, allocations: 2.734 kB / 0.8187 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.5523, allocations: 21.17 kB / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.5523, allocations: 15.75 kB / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.5524, allocations: 2.906 kB / 0.8188 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.5525, allocations: 49.28 kB / 0.8188 GB, free: 448 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.5525, allocations: 11.69 kB / 0.8188 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.5525, allocations: 17.78 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.5527, allocations: 89.44 kB / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5527, allocations: 0 / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.936e-06/0.5527, allocations: 6.781 kB / 0.819 GB, free: 404 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.5527, allocations: 0 / 0.819 GB, free: 404 kB / 0.6042 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.0005113/0.5532, allocations: 293.5 kB / 0.8192 GB, free: 112 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.5533, allocations: 9.797 kB / 0.8192 GB, free: 112 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.5533, allocations: 32.31 kB / 0.8193 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.5537, allocations: 60.05 kB / 0.8193 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.5539, allocations: 118 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.5539, allocations: 2.688 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.5539, allocations: 6.906 kB / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.5541, allocations: 75.25 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5541, allocations: 5.125 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5541, allocations: 0.5156 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5541, allocations: 1.312 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.5543, allocations: 58.98 kB / 0.8196 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.5546, allocations: 215.5 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.5549, allocations: 104.2 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.555, allocations: 32.77 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.555, allocations: 9.781 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.555, allocations: 35.5 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.023e-06/0.555, allocations: 0 / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.01362/0.5686, allocations: 1.513 MB / 0.8214 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5687, allocations: 58.19 kB / 0.8215 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5688, allocations: 117.6 kB / 0.8216 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.5689, allocations: 29.7 kB / 0.8216 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.5689, allocations: 91.02 kB / 0.8217 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.569, allocations: 29.64 kB / 0.8218 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.5691, allocations: 23.67 kB / 0.8218 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.5692, allocations: 323.2 kB / 0.8221 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.5696, allocations: 153.7 kB / 0.8222 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.5701, allocations: 162 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.5709, allocations: 314 kB / 0.8227 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5709, allocations: 0 / 0.8227 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009488/0.5718, allocations: 363.4 kB / 0.823 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.5718, allocations: 8.531 kB / 0.823 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5718, allocations: 0 / 0.823 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5719, allocations: 1.75 kB / 0.823 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.5727, allocations: 62.56 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5727, allocations: 1.375 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.5733, allocations: 56.5 kB / 0.8232 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.5733, allocations: 8.141 kB / 0.8232 GB, free: 14.33 MB / 0.6198 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.0001532/0.5735, allocations: 117.5 kB / 0.8233 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.5736, allocations: 10.61 kB / 0.8233 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.5737, allocations: 18.98 kB / 0.8233 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.5737, allocations: 1.531 kB / 0.8233 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5737, allocations: 0 / 0.8233 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5737, allocations: 2.422 kB / 0.8233 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.5769, allocations: 0.761 MB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5769, allocations: 2.281 kB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.5775, allocations: 61.7 kB / 0.8241 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5775, allocations: 1.125 kB / 0.8241 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-05/0.5775, allocations: 15.92 kB / 0.8241 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5775, allocations: 0.5156 kB / 0.8241 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5775, allocations: 1.438 kB / 0.8241 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/0.5783, allocations: 346 kB / 0.8245 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.5783, allocations: 7.25 kB / 0.8245 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.5783, allocations: 11.41 kB / 0.8245 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.5788, allocations: 45.39 kB / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.5789, allocations: 9.906 kB / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.5789, allocations: 7.453 kB / 0.8245 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.579, allocations: 93.27 kB / 0.8246 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.579, allocations: 0 / 0.8246 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002916/0.5793, allocations: 89.19 kB / 0.8247 GB, free: 13.52 MB / 0.6198 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.001042/0.5803, allocations: 0.882 MB / 0.8256 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008354/0.5811, allocations: 263.1 kB / 0.8258 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5811, allocations: 1.188 kB / 0.8258 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.5815, allocations: 106.6 kB / 0.8259 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.5817, allocations: 6.984 kB / 0.8259 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.5873, allocations: 2.797 MB / 0.8287 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.5874, allocations: 71.92 kB / 0.8287 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.5877, allocations: 56.17 kB / 0.8288 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.5881, allocations: 24.05 kB / 0.8288 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.745e-06/0.5881, allocations: 1.375 kB / 0.8288 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.6372, allocations: 11.81 MB / 0.8403 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.608, allocations: 13.69 kB / 0.8404 GB, free: 5.461 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.67093728389591] Failed to read output from testmodel.py, exit status != 0: 7.687677998561412 7.700563112 7.145929215 Calling exit ...