Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.0008235/0.0008235, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008012/0.0008012, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8199/0.8199, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001376/0.001376, allocations: 229.2 kB / 260.2 MB, free: 13.04 MB / 250.7 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 0.6535/0.6535, allocations: 138.4 MB / 455.1 MB, free: 1.629 MB / 362.7 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6476 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.328e-05, allocations: 2.984 kB / 0.6476 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.0009952/0.001018, allocations: 0.6078 MB / 0.6482 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002208, allocations: 1.387 MB / 0.6495 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.002234, allocations: 0 / 0.6495 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.53e-05/0.002289, allocations: 5.094 kB / 0.6495 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.002326, allocations: 5.344 kB / 0.6495 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.002839, allocations: 184.3 kB / 0.6497 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.002933, allocations: 51.8 kB / 0.6498 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.002964, allocations: 1.562 kB / 0.6498 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.003011, allocations: 23.16 kB / 0.6498 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.003058, allocations: 25.25 kB / 0.6498 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003075, allocations: 10.16 kB / 0.6498 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.003332, allocations: 208.8 kB / 0.65 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.003382, allocations: 19.36 kB / 0.65 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.003412, allocations: 10.62 kB / 0.6501 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.003629, allocations: 231.3 kB / 0.6503 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.003631, allocations: 5.062 kB / 0.6503 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003632, allocations: 0 / 0.6503 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003636, allocations: 0 / 0.6503 GB, free: 26.77 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002908/0.003927, allocations: 367.9 kB / 0.6506 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.00396, allocations: 10.16 kB / 0.6506 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.003993, allocations: 16.73 kB / 0.6507 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.196e-05/0.004055, allocations: 119.3 kB / 0.6508 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004065, allocations: 5.859 kB / 0.6508 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.004077, allocations: 7.359 kB / 0.6508 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.004217, allocations: 125.7 kB / 0.6509 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.004224, allocations: 192 / 0.6509 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004234, allocations: 4.125 kB / 0.6509 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004238, allocations: 1.5 kB / 0.6509 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.004309, allocations: 86.56 kB / 0.651 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.791e-05/0.004397, allocations: 125.2 kB / 0.6511 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.004478, allocations: 102.8 kB / 0.6512 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.004544, allocations: 104.6 kB / 0.6513 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.00455, allocations: 0 / 0.6513 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.004565, allocations: 36.08 kB / 0.6513 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004565, allocations: 0 / 0.6513 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.000289/0.004854, allocations: 309.5 kB / 0.6516 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.004877, allocations: 91.5 kB / 0.6517 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.004946, allocations: 139.9 kB / 0.6519 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.004952, allocations: 27.05 kB / 0.6519 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.004976, allocations: 95.67 kB / 0.652 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.004994, allocations: 10.58 kB / 0.652 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.005028, allocations: 32.42 kB / 0.652 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.78e-05/0.005056, allocations: 318.1 kB / 0.6523 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.005158, allocations: 172.9 kB / 0.6525 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.174e-05/0.00525, allocations: 168.1 kB / 0.6526 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.005434, allocations: 286.2 kB / 0.6529 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005437, allocations: 4 kB / 0.6529 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002756/0.005712, allocations: 396.7 kB / 0.6533 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.005749, allocations: 70.95 kB / 0.6534 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.005755, allocations: 0 / 0.6534 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.005769, allocations: 9.359 kB / 0.6534 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.00577, allocations: 0 / 0.6534 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.005775, allocations: 4.062 kB / 0.6534 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.005884, allocations: 9.984 kB / 0.6534 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.005896, allocations: 3.438 kB / 0.6534 GB, free: 24.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 6.34e-05/0.00596, allocations: 147.7 kB / 0.6535 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.00597, allocations: 11.67 kB / 0.6535 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.005984, allocations: 13.67 kB / 0.6536 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.005987, allocations: 5.312 kB / 0.6536 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.005992, allocations: 0 / 0.6536 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.005994, allocations: 0 / 0.6536 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.223e-05/0.006047, allocations: 121.1 kB / 0.6537 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006047, allocations: 4 kB / 0.6537 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.006048, allocations: 0 / 0.6537 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.00605, allocations: 5.453 kB / 0.6537 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.006059, allocations: 1.688 kB / 0.6537 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.00606, allocations: 0 / 0.6537 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006061, allocations: 5.656 kB / 0.6537 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.006258, allocations: 260.9 kB / 0.6539 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.006266, allocations: 6.859 kB / 0.654 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006277, allocations: 1.781 kB / 0.654 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.006306, allocations: 2.375 kB / 0.654 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.006356, allocations: 16.56 kB / 0.654 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.006361, allocations: 10.73 kB / 0.654 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.006399, allocations: 115.3 kB / 0.6541 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006399, allocations: 1.156 kB / 0.6541 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001952/0.006594, allocations: 67.23 kB / 0.6542 GB, free: 23.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001709/0.006765, allocations: 153.6 kB / 0.6543 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.007035, allocations: 419.8 kB / 0.6547 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.007037, allocations: 1.5 kB / 0.6547 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.007116, allocations: 157.6 kB / 0.6549 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.007225, allocations: 14.86 kB / 0.6549 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.007482, allocations: 272.1 kB / 0.6551 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.007522, allocations: 75.53 kB / 0.6552 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.006e-05/0.007532, allocations: 8.5 kB / 0.6552 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.007532, allocations: 0 / 0.6552 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.002295/0.009827, allocations: 1.695 MB / 0.6569 GB, free: 21.89 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.187305960804224] Failed to read output from testmodel.py, exit status != 0: 0.013844864442944527 0.019592443 0.01471297 Calling exit ...