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.001249/0.001249, allocations: 113.4 kB / 19.73 MB, free: 2.227 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.002239/0.002239, allocations: 218 kB / 23.04 MB, free: 5.059 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002609/0.002609, allocations: 281.2 kB / 313.5 MB, free: 2.789 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.278/1.278, allocations: 180.6 MB / 0.5377 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",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.002789/0.002789, allocations: 102.1 kB / 0.7404 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2034, allocations: 95.4 MB / 0.8335 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001885/0.2053, allocations: 0.6388 MB / 0.8342 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004785/0.2057, allocations: 203.5 kB / 0.8344 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.2058, allocations: 4 kB / 0.8344 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.2058, allocations: 3.938 kB / 0.8344 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.206, allocations: 11.94 kB / 0.8344 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.2062, allocations: 79.73 kB / 0.8345 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.2063, allocations: 23.92 kB / 0.8345 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.2063, allocations: 0 / 0.8345 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.2063, allocations: 19.92 kB / 0.8345 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.2064, allocations: 23.84 kB / 0.8345 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2064, allocations: 7.938 kB / 0.8345 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2066, allocations: 111.8 kB / 0.8346 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.2066, allocations: 7.922 kB / 0.8346 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.2067, allocations: 15.88 kB / 0.8347 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.2069, allocations: 104 kB / 0.8348 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2069, allocations: 0 / 0.8348 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2069, allocations: 0 / 0.8348 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2069, allocations: 4 kB / 0.8348 GB, free: 7.336 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.0005581/0.2074, allocations: 286.1 kB / 0.835 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2075, allocations: 13.34 kB / 0.8351 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.28e-05/0.2075, allocations: 192 / 0.8351 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.2075, allocations: 38.69 kB / 0.8351 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2076, allocations: 8.891 kB / 0.8351 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2077, allocations: 122.5 kB / 0.8352 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2077, allocations: 4.375 kB / 0.8352 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2077, allocations: 384 / 0.8352 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2079, allocations: 57.98 kB / 0.8353 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2079, allocations: 3.953 kB / 0.8353 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2079, allocations: 8 kB / 0.8353 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2079, allocations: 0 / 0.8353 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2081, allocations: 31.95 kB / 0.8353 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2084, allocations: 224 kB / 0.8355 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.2086, allocations: 66.53 kB / 0.8356 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.2087, allocations: 20.94 kB / 0.8356 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.2087, allocations: 0 / 0.8356 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.2087, allocations: 38.56 kB / 0.8356 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.2087, allocations: 0 / 0.8356 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02674/0.2354, allocations: 1.613 MB / 0.8372 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2355, allocations: 55.34 kB / 0.8373 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2356, allocations: 121.8 kB / 0.8374 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.2357, allocations: 25.7 kB / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.2358, allocations: 88.45 kB / 0.8375 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/0.2359, allocations: 27.8 kB / 0.8375 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.2361, allocations: 29.7 kB / 0.8376 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2362, allocations: 318.8 kB / 0.8379 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.2367, allocations: 147.9 kB / 0.838 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.2372, allocations: 139.9 kB / 0.8381 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2383, allocations: 308.7 kB / 0.8384 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2383, allocations: 0 / 0.8384 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001218/0.2395, allocations: 325.5 kB / 0.8387 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2395, allocations: 11.98 kB / 0.8388 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2395, allocations: 4 kB / 0.8388 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2395, allocations: 0 / 0.8388 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.2411, allocations: 63.88 kB / 0.8388 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2411, allocations: 0 / 0.8388 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.2425, allocations: 47.94 kB / 0.8389 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.2426, allocations: 0 / 0.8389 GB, free: 2.941 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.0002227/0.2428, allocations: 118.4 kB / 0.839 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.2429, allocations: 11.95 kB / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.243, allocations: 20.36 kB / 0.839 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.243, allocations: 0 / 0.839 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.243, allocations: 4 kB / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.243, allocations: 0 / 0.839 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/0.249, allocations: 0.8167 MB / 0.8398 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.249, allocations: 8 kB / 0.8398 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.2502, allocations: 51.94 kB / 0.8399 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2502, allocations: 288 / 0.8399 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.2502, allocations: 7.938 kB / 0.8399 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2502, allocations: 0 / 0.8399 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2502, allocations: 3.938 kB / 0.8399 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.2512, allocations: 325.2 kB / 0.8402 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.2513, allocations: 7.953 kB / 0.8402 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.2513, allocations: 11.92 kB / 0.8402 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.2524, allocations: 43.89 kB / 0.8402 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.2524, allocations: 8 kB / 0.8403 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2525, allocations: 3.984 kB / 0.8403 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.2525, allocations: 95.27 kB / 0.8403 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2525, allocations: 0 / 0.8403 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004203/0.253, allocations: 91.94 kB / 0.8404 GB, free: 1.234 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.001509/0.2545, allocations: 0.8701 MB / 0.8413 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.2555, allocations: 243.8 kB / 0.8415 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2555, allocations: 0 / 0.8415 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.256, allocations: 92.06 kB / 0.8416 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2563, allocations: 8.078 kB / 0.8416 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/0.2638, allocations: 2.674 MB / 0.8442 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2642, allocations: 0.6923 MB / 0.8449 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004175/0.2646, allocations: 51.98 kB / 0.845 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.2651, allocations: 23.36 kB / 0.845 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.2651, allocations: 0 / 0.845 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.303, allocations: 10.06 MB / 0.8548 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.47, allocations: 15.42 kB / 0.8548 GB, free: 2.465 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.88590002496494] Failed to read output from testmodel.py, exit status != 0: 11.628907789010555 11.646777661 11.436608477 Calling exit ...