Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001286/0.001286, 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.001409/0.001409, allocations: 214.5 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002565/0.002565, allocations: 278.9 kB / 312.7 MB, free: 2.691 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.216/1.216, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002928/0.002928, allocations: 111.2 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.2004, allocations: 95.37 MB / 0.8327 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002257/0.2027, allocations: 0.6465 MB / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.2033, allocations: 175.6 kB / 0.8335 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.979e-05/0.2033, allocations: 0 / 0.8335 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.2033, allocations: 7.938 kB / 0.8335 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.2035, allocations: 7.938 kB / 0.8335 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.2038, allocations: 71.81 kB / 0.8336 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.2039, allocations: 27.91 kB / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.2039, allocations: 0 / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.204, allocations: 19.94 kB / 0.8336 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.204, allocations: 27.89 kB / 0.8336 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2041, allocations: 0 / 0.8336 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.2042, allocations: 47.83 kB / 0.8337 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.2042, allocations: 11.92 kB / 0.8337 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.2043, allocations: 11.92 kB / 0.8337 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2045, allocations: 95.94 kB / 0.8338 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2045, allocations: 0 / 0.8338 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2045, allocations: 0 / 0.8338 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.2045, allocations: 0 / 0.8338 GB, free: 7.125 MB / 0.5762 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.0006034/0.2051, allocations: 294.1 kB / 0.8341 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2051, allocations: 13.94 kB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.2052, allocations: 30.75 kB / 0.8341 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.2052, allocations: 12.89 kB / 0.8341 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2054, allocations: 114.5 kB / 0.8342 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2054, allocations: 384 / 0.8342 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.2054, allocations: 4.375 kB / 0.8342 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2056, allocations: 54.17 kB / 0.8343 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2056, allocations: 7.891 kB / 0.8343 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2056, allocations: 8 kB / 0.8343 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2057, allocations: 4 kB / 0.8343 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.2058, allocations: 35.89 kB / 0.8344 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.2061, allocations: 208 kB / 0.8345 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.2064, allocations: 70.53 kB / 0.8346 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.2064, allocations: 20.94 kB / 0.8346 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2065, allocations: 4 kB / 0.8346 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.2065, allocations: 46.48 kB / 0.8347 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2065, allocations: 0 / 0.8347 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02686/0.2334, allocations: 1.601 MB / 0.8362 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.2334, allocations: 51.41 kB / 0.8363 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2336, allocations: 121.8 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.2336, allocations: 33.64 kB / 0.8364 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.2337, allocations: 88.12 kB / 0.8365 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.2338, allocations: 27.8 kB / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.234, allocations: 25.7 kB / 0.8366 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2341, allocations: 326.8 kB / 0.8369 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.2346, allocations: 135.9 kB / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.2351, allocations: 147.9 kB / 0.8372 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.2361, allocations: 301.3 kB / 0.8375 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2361, allocations: 0 / 0.8375 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001216/0.2374, allocations: 345.4 kB / 0.8378 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2374, allocations: 4 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2374, allocations: 432 / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2374, allocations: 0 / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.239, allocations: 59.94 kB / 0.8378 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.239, allocations: 0 / 0.8378 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.2403, allocations: 47.94 kB / 0.8379 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.2404, allocations: 8 kB / 0.8379 GB, free: 2.73 MB / 0.5762 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.0001887/0.2406, allocations: 118.4 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.2407, allocations: 11.94 kB / 0.838 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.2408, allocations: 24.36 kB / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2408, allocations: 0 / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2408, allocations: 0 / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2408, allocations: 0 / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005979/0.2468, allocations: 0.735 MB / 0.8388 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2468, allocations: 0 / 0.8388 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.2479, allocations: 51.94 kB / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.2479, allocations: 4 kB / 0.8388 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.248, allocations: 7.922 kB / 0.8388 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.248, allocations: 4 kB / 0.8388 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.248, allocations: 0 / 0.8388 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.249, allocations: 325.2 kB / 0.8391 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.249, allocations: 7.953 kB / 0.8391 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.2491, allocations: 7.938 kB / 0.8391 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.2501, allocations: 39.95 kB / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.2501, allocations: 11.92 kB / 0.8392 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.2502, allocations: 0 / 0.8392 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.193e-05/0.2503, allocations: 99.36 kB / 0.8393 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2503, allocations: 4.281 kB / 0.8393 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004111/0.2507, allocations: 91.94 kB / 0.8394 GB, free: 1.109 MB / 0.5762 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.001463/0.2521, allocations: 0.8701 MB / 0.8402 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.2532, allocations: 244.1 kB / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2532, allocations: 0 / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.2536, allocations: 95.88 kB / 0.8406 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2539, allocations: 10.92 kB / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.2609, allocations: 2.677 MB / 0.8432 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.797e-05/0.261, allocations: 67.34 kB / 0.8432 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005609/0.2616, allocations: 51.98 kB / 0.8433 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.262, allocations: 27.42 kB / 0.8433 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.262, allocations: 3.938 kB / 0.8433 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.3077, allocations: 11.31 MB / 0.8544 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.74, allocations: 7.562 kB / 0.8544 GB, free: 1.703 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.862108119297773] Failed to read output from testmodel.py, exit status != 0: 11.848569542169571 11.868799598 11.66127029 Calling exit ...