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.001385/0.001385, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001636/0.001636, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002406/0.002406, allocations: 287.2 kB / 309.8 MB, free: 3.523 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.079/1.079, allocations: 180.6 MB / 0.5338 GB, free: 12.75 MB / 398.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="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.00286/0.00286, allocations: 99.84 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6044, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001707/0.6062, allocations: 0.6456 MB / 0.8285 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.6066, allocations: 200.7 kB / 0.8286 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.6066, allocations: 0.875 kB / 0.8286 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.6066, allocations: 0 / 0.8286 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.6068, allocations: 11.84 kB / 0.8287 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.607, allocations: 84.02 kB / 0.8287 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.6071, allocations: 33.53 kB / 0.8288 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.6072, allocations: 3.656 kB / 0.8288 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.6072, allocations: 21.12 kB / 0.8288 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.6073, allocations: 21.2 kB / 0.8288 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.6073, allocations: 0 / 0.8288 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.6075, allocations: 111 kB / 0.8289 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.6075, allocations: 1.828 kB / 0.8289 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.6075, allocations: 23.17 kB / 0.8289 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.6077, allocations: 101.1 kB / 0.829 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6077, allocations: 0 / 0.829 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6077, allocations: 4 kB / 0.829 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6077, allocations: 0 / 0.829 GB, free: 2.348 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.0006018/0.6083, allocations: 376.4 kB / 0.8294 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6084, allocations: 9.312 kB / 0.8294 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.565e-05/0.6084, allocations: 192 / 0.8294 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.131e-05/0.6084, allocations: 32.12 kB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.6084, allocations: 8.484 kB / 0.8295 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.6086, allocations: 173.5 kB / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.6086, allocations: 7 kB / 0.8296 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.6086, allocations: 7.688 kB / 0.8296 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.6088, allocations: 59.03 kB / 0.8297 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.6088, allocations: 3.953 kB / 0.8297 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6088, allocations: 0 / 0.8297 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6088, allocations: 0 / 0.8297 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.609, allocations: 35.08 kB / 0.8297 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.6093, allocations: 252.2 kB / 0.83 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.6095, allocations: 65.38 kB / 0.83 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.6095, allocations: 25.95 kB / 0.8301 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.6095, allocations: 0.7969 kB / 0.8301 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.6096, allocations: 34.56 kB / 0.8301 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.6096, allocations: 3 kB / 0.8301 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.02674/0.6363, allocations: 1.615 MB / 0.8317 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.6363, allocations: 51.41 kB / 0.8317 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.6364, allocations: 126.3 kB / 0.8318 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.6365, allocations: 34.38 kB / 0.8319 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.6365, allocations: 84.66 kB / 0.832 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.6366, allocations: 31.58 kB / 0.832 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.6368, allocations: 22.58 kB / 0.832 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.6368, allocations: 323.4 kB / 0.8323 GB, free: 444 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.6373, allocations: 141.4 kB / 0.8324 GB, free: 408 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.6378, allocations: 140.2 kB / 0.8326 GB, free: 372 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009411/0.6387, allocations: 292.9 kB / 0.8329 GB, free: 272 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6387, allocations: 0 / 0.8329 GB, free: 272 kB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001189/0.6399, allocations: 340.5 kB / 0.8332 GB, free: 144 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6399, allocations: 4.969 kB / 0.8332 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6399, allocations: 0 / 0.8332 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.6399, allocations: 0.75 kB / 0.8332 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.6415, allocations: 64.59 kB / 0.8332 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6415, allocations: 5.719 kB / 0.8333 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6428, allocations: 50.53 kB / 0.8333 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.6428, allocations: 3.375 kB / 0.8333 GB, free: 132 kB / 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.000164/0.643, allocations: 120 kB / 0.8334 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.6431, allocations: 6.359 kB / 0.8334 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.6432, allocations: 21.59 kB / 0.8334 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6433, allocations: 0 / 0.8334 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6433, allocations: 4 kB / 0.8335 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6433, allocations: 2.125 kB / 0.8335 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/0.6491, allocations: 0.8364 MB / 0.8343 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6491, allocations: 5.688 kB / 0.8343 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6502, allocations: 60.52 kB / 0.8343 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6502, allocations: 0.5312 kB / 0.8343 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.6502, allocations: 15.38 kB / 0.8343 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.6502, allocations: 1.516 kB / 0.8344 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6502, allocations: 1.312 kB / 0.8344 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.6512, allocations: 317.1 kB / 0.8347 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.6513, allocations: 84.75 kB / 0.8347 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.6514, allocations: 11.75 kB / 0.8347 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.6524, allocations: 36.69 kB / 0.8348 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.6524, allocations: 15.31 kB / 0.8348 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.6525, allocations: 7.125 kB / 0.8348 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.6526, allocations: 98.05 kB / 0.8349 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6526, allocations: 0 / 0.8349 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004432/0.653, allocations: 89.73 kB / 0.835 GB, free: 15.19 MB / 0.5919 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.001419/0.6544, allocations: 0.8809 MB / 0.8358 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.6555, allocations: 236.9 kB / 0.8361 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6555, allocations: 0 / 0.8361 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.6559, allocations: 94.58 kB / 0.8362 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.6562, allocations: 7.906 kB / 0.8362 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/0.6629, allocations: 2.681 MB / 0.8388 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.6633, allocations: 0.6847 MB / 0.8395 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003919/0.6636, allocations: 51.36 kB / 0.8395 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.6641, allocations: 23.22 kB / 0.8395 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.6641, allocations: 5.062 kB / 0.8395 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.6994, allocations: 9.869 MB / 0.8492 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/9.295, allocations: 14.97 kB / 0.8492 GB, free: 8.957 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.38892307097558] Failed to read output from testmodel.py, exit status != 0: 9.418769057956524 9.432367811 8.821952218 Calling exit ...