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.001323/0.001323, allocations: 79.36 kB / 19.01 MB, free: 2.867 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.001456/0.001456, allocations: 160.1 kB / 22.26 MB, free: 5.129 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.352/1.352, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 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.002345/0.002345, allocations: 225.1 kB / 259.2 MB, free: 0.5938 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.022/1.022, allocations: 138.5 MB / 454.2 MB, free: 2.07 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: 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.003024/0.003024, allocations: 107.8 kB / 0.6466 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3669, allocations: 95.35 MB / 0.7398 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001607/0.3685, allocations: 0.6167 MB / 0.7404 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3705, allocations: 1.43 MB / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.3705, allocations: 0 / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.3705, allocations: 0 / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.372e-05/0.3706, allocations: 3.938 kB / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.3712, allocations: 223.5 kB / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.3713, allocations: 31.92 kB / 0.742 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.3713, allocations: 7.984 kB / 0.742 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.3714, allocations: 15.98 kB / 0.742 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.3714, allocations: 23.91 kB / 0.742 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3715, allocations: 4 kB / 0.742 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.3719, allocations: 255.6 kB / 0.7423 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.3719, allocations: 4 kB / 0.7423 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.372, allocations: 23.84 kB / 0.7423 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3723, allocations: 216.6 kB / 0.7425 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3723, allocations: 0 / 0.7425 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3723, allocations: 3.938 kB / 0.7425 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3723, allocations: 0 / 0.7425 GB, free: 12.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004737/0.3727, allocations: 335.6 kB / 0.7428 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3728, allocations: 9.344 kB / 0.7429 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3728, allocations: 8.891 kB / 0.7429 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3729, allocations: 114.4 kB / 0.743 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3729, allocations: 8.375 kB / 0.743 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.373, allocations: 4.375 kB / 0.743 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3731, allocations: 115.6 kB / 0.7431 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3731, allocations: 4 kB / 0.7431 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3732, allocations: 3.984 kB / 0.7431 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-06/0.3732, allocations: 0 / 0.7431 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.3732, allocations: 65.67 kB / 0.7432 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.3734, allocations: 113.3 kB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3735, allocations: 84.25 kB / 0.7434 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.3736, allocations: 70.56 kB / 0.7434 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-06/0.3736, allocations: 0 / 0.7434 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3736, allocations: 46.48 kB / 0.7435 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.3736, allocations: 0 / 0.7435 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003719/0.374, allocations: 250.7 kB / 0.7437 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.374, allocations: 85.09 kB / 0.7438 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3741, allocations: 109.8 kB / 0.7439 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3742, allocations: 25.7 kB / 0.7439 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3742, allocations: 92.14 kB / 0.744 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.3743, allocations: 31.73 kB / 0.744 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.3743, allocations: 17.72 kB / 0.7441 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3745, allocations: 318.8 kB / 0.7444 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.3745, allocations: 65.67 kB / 0.7444 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.3746, allocations: 73.64 kB / 0.7445 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3748, allocations: 144.2 kB / 0.7446 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3748, allocations: 0 / 0.7446 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002279/0.3751, allocations: 189.2 kB / 0.7448 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3751, allocations: 40.81 kB / 0.7448 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3751, allocations: 3.938 kB / 0.7448 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3751, allocations: 0 / 0.7448 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3751, allocations: 0 / 0.7448 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3751, allocations: 0 / 0.7448 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3753, allocations: 11.94 kB / 0.7449 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3753, allocations: 8 kB / 0.7449 GB, free: 9.562 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 (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 0.0001187/0.3754, allocations: 151.6 kB / 0.745 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.3754, allocations: 4 kB / 0.745 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.3754, allocations: 16.31 kB / 0.745 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3754, allocations: 7.875 kB / 0.745 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3754, allocations: 0 / 0.745 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.3754, allocations: 0 / 0.745 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.83e-05/0.3755, allocations: 113.3 kB / 0.7451 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3755, allocations: 3.984 kB / 0.7452 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.3755, allocations: 0 / 0.7452 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3755, allocations: 0 / 0.7452 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3756, allocations: 8 kB / 0.7452 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3756, allocations: 3.938 kB / 0.7452 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3756, allocations: 0 / 0.7452 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3758, allocations: 225.1 kB / 0.7454 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.3758, allocations: 11.94 kB / 0.7454 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3759, allocations: 4 kB / 0.7454 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.3759, allocations: 11.94 kB / 0.7454 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.3759, allocations: 0 / 0.7454 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3759, allocations: 11.98 kB / 0.7454 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.376, allocations: 95.25 kB / 0.7455 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.376, allocations: 0 / 0.7455 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002921/0.3763, allocations: 71.91 kB / 0.7456 GB, free: 8.758 MB / 0.5762 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.0003056/0.3766, allocations: 163 kB / 0.7457 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.3769, allocations: 226.7 kB / 0.7459 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3769, allocations: 0 / 0.7459 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.377, allocations: 149 kB / 0.7461 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.3772, allocations: 7.984 kB / 0.7461 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.3775, allocations: 198.5 kB / 0.7463 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.3776, allocations: 67.47 kB / 0.7463 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.531e-06/0.3776, allocations: 4 kB / 0.7464 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.3776, allocations: 8.5 kB / 0.7464 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.3776, allocations: 0 / 0.7464 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of Templates: time 0.005018/0.3826, allocations: 2.106 MB / 0.7484 GB, free: 5.77 MB / 0.5762 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.564322656020522] Failed to read output from testmodel.py, exit status != 0: 0.3904686477035284 0.404683902 0.029498158000000003 Calling exit ...