Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001338/0.001338, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001466/0.001466, allocations: 163.3 kB / 22.46 MB, free: 5.371 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.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.002447/0.002447, allocations: 239.1 kB / 259.4 MB, free: 456 kB / 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.071/1.071, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6468 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.203e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001803/0.001835, allocations: 0.6275 MB / 0.6475 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.00404, allocations: 1.436 MB / 0.6489 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.004066, allocations: 0 / 0.6489 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.836e-05/0.004124, allocations: 0 / 0.6489 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.004166, allocations: 8 kB / 0.6489 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.004998, allocations: 218.5 kB / 0.6491 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.811e-05/0.005086, allocations: 35.91 kB / 0.6491 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.005131, allocations: 4 kB / 0.6491 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.005179, allocations: 15.98 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.00523, allocations: 23.95 kB / 0.6492 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.005248, allocations: 4 kB / 0.6492 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.005747, allocations: 267.5 kB / 0.6494 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.005784, allocations: 8 kB / 0.6494 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.005822, allocations: 11.92 kB / 0.6494 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.006287, allocations: 263.4 kB / 0.6497 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.00629, allocations: 0 / 0.6497 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006291, allocations: 0 / 0.6497 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.006295, allocations: 0 / 0.6497 GB, free: 2.023 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000463/0.006758, allocations: 331.6 kB / 0.65 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.006799, allocations: 9.344 kB / 0.65 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.006844, allocations: 8.891 kB / 0.65 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006967, allocations: 113.7 kB / 0.6501 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.006982, allocations: 4.375 kB / 0.6501 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.006993, allocations: 384 / 0.6501 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.007184, allocations: 111.9 kB / 0.6502 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.007192, allocations: 192 / 0.6502 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.007203, allocations: 384 / 0.6502 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.007208, allocations: 11.81 kB / 0.6503 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.552e-05/0.007294, allocations: 65.67 kB / 0.6503 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.00743, allocations: 109.3 kB / 0.6504 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.007547, allocations: 80.25 kB / 0.6505 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.007632, allocations: 70.56 kB / 0.6506 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.007638, allocations: 4 kB / 0.6506 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.007666, allocations: 30.56 kB / 0.6506 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.007667, allocations: 0 / 0.6506 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003873/0.008055, allocations: 262.7 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.008114, allocations: 85.05 kB / 0.6509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.00821, allocations: 109.8 kB / 0.651 GB, free: 464 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.008232, allocations: 29.7 kB / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.008279, allocations: 84.14 kB / 0.6511 GB, free: 340 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.008318, allocations: 23.78 kB / 0.6512 GB, free: 316 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.008371, allocations: 21.72 kB / 0.6512 GB, free: 288 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2641/0.2725, allocations: 318.8 kB / 0.6515 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2726, allocations: 63.2 kB / 0.6515 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.2726, allocations: 67.16 kB / 0.6516 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2728, allocations: 143.7 kB / 0.6517 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2728, allocations: 0.6875 kB / 0.6517 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001963/0.273, allocations: 181.8 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.273, allocations: 40.92 kB / 0.652 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.273, allocations: 1.734 kB / 0.652 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.273, allocations: 1.828 kB / 0.652 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.273, allocations: 0 / 0.652 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.273, allocations: 3.75 kB / 0.652 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.2732, allocations: 13.23 kB / 0.652 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2732, allocations: 5.188 kB / 0.652 GB, free: 56.58 MB / 0.5606 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 (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 prepare postOptimizeDAE: time 7.298e-05/0.2733, allocations: 151 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.2733, allocations: 7.422 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.2733, allocations: 10.02 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2733, allocations: 0.5625 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2733, allocations: 3.75 kB / 0.6522 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2733, allocations: 4.219 kB / 0.6522 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.612e-05/0.2733, allocations: 109.2 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2733, allocations: 0 / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.2733, allocations: 3.406 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2734, allocations: 3.234 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2734, allocations: 4.094 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2734, allocations: 2.719 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2734, allocations: 3.938 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.2736, allocations: 236.3 kB / 0.6525 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.2736, allocations: 4.766 kB / 0.6525 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2736, allocations: 6.688 kB / 0.6525 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.269e-05/0.2736, allocations: 8.344 kB / 0.6525 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.2736, allocations: 7.75 kB / 0.6525 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2737, allocations: 5.75 kB / 0.6525 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.2737, allocations: 95.95 kB / 0.6526 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 0.6526 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000304/0.274, allocations: 76.12 kB / 0.6527 GB, free: 56.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002628/0.2742, allocations: 178 kB / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.2744, allocations: 221.2 kB / 0.6531 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2744, allocations: 0 / 0.6531 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.2745, allocations: 148.7 kB / 0.6532 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.2747, allocations: 4.844 kB / 0.6532 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.2749, allocations: 210.4 kB / 0.6534 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.275, allocations: 70.69 kB / 0.6535 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.618e-06/0.275, allocations: 0 / 0.6535 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-06/0.275, allocations: 8.5 kB / 0.6535 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.275, allocations: 0 / 0.6535 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.004069/0.279, allocations: 2.113 MB / 0.6556 GB, free: 55.49 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.889108009636402] Failed to read output from testmodel.py, exit status != 0: 0.28674815595149994 0.295769157 0.287235722 Calling exit ...