Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 200.3 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 282 kB / 306.4 MB, free: 8.453 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.275/1.275, allocations: 180.9 MB / 0.5298 GB, free: 14.66 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 108.7 kB / 0.7306 GB, free: 38.99 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1454, allocations: 94.16 MB / 0.8226 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002651/0.148, allocations: 1.509 MB / 0.824 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1493, allocations: 0.7573 MB / 0.8248 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.1493, allocations: 4 kB / 0.8248 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1496, allocations: 127.7 kB / 0.8249 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1497, allocations: 67.84 kB / 0.825 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1503, allocations: 182.5 kB / 0.8251 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1504, allocations: 67.8 kB / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1504, allocations: 7.938 kB / 0.8252 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.1505, allocations: 39.88 kB / 0.8252 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1506, allocations: 87.83 kB / 0.8253 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1506, allocations: 4 kB / 0.8253 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.151, allocations: 231.7 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1511, allocations: 63.81 kB / 0.8256 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.1512, allocations: 55.48 kB / 0.8257 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.1515, allocations: 279 kB / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1515, allocations: 0 / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1515, allocations: 3.938 kB / 0.8259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1515, allocations: 4 kB / 0.8259 GB, free: 14.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000695/0.1522, allocations: 0.5018 MB / 0.8264 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1523, allocations: 12.03 kB / 0.8264 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1523, allocations: 28.73 kB / 0.8265 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1526, allocations: 263.8 kB / 0.8267 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.1526, allocations: 4.375 kB / 0.8267 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1526, allocations: 384 / 0.8267 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1528, allocations: 77.97 kB / 0.8268 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1528, allocations: 0 / 0.8268 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.1528, allocations: 4 kB / 0.8268 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1528, allocations: 0 / 0.8268 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.1531, allocations: 91.88 kB / 0.8269 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.1536, allocations: 400.7 kB / 0.8273 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1538, allocations: 86.53 kB / 0.8274 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1539, allocations: 44.89 kB / 0.8274 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.154, allocations: 23.73 kB / 0.8274 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.154, allocations: 34.56 kB / 0.8275 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.154, allocations: 0 / 0.8275 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004401/0.1544, allocations: 181.4 kB / 0.8276 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1545, allocations: 51.41 kB / 0.8277 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1548, allocations: 363.3 kB / 0.828 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1549, allocations: 25.7 kB / 0.828 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.155, allocations: 136.1 kB / 0.8282 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.155, allocations: 3.953 kB / 0.8282 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.155, allocations: 25.7 kB / 0.8282 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1552, allocations: 338.8 kB / 0.8285 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.1553, allocations: 91.95 kB / 0.8286 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1555, allocations: 103.3 kB / 0.8287 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.1558, allocations: 212.6 kB / 0.8289 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1558, allocations: 0 / 0.8289 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003872/0.1562, allocations: 253.4 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1562, allocations: 4 kB / 0.8292 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1562, allocations: 4 kB / 0.8292 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1562, allocations: 4 kB / 0.8292 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.1563, allocations: 7.984 kB / 0.8292 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1563, allocations: 0 / 0.8292 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.1564, allocations: 23.83 kB / 0.8292 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1564, allocations: 0 / 0.8292 GB, free: 11.31 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001219/0.1565, allocations: 145.8 kB / 0.8293 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1566, allocations: 23.8 kB / 0.8294 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.1569, allocations: 146.5 kB / 0.8295 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1569, allocations: 8.031 kB / 0.8295 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1569, allocations: 3.984 kB / 0.8295 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1569, allocations: 0 / 0.8295 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.1571, allocations: 241.5 kB / 0.8297 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1571, allocations: 0 / 0.8297 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.1572, allocations: 11.98 kB / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1572, allocations: 0 / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1572, allocations: 0 / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1572, allocations: 0 / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1572, allocations: 4.031 kB / 0.8298 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1575, allocations: 239.2 kB / 0.83 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/0.1576, allocations: 101 kB / 0.8301 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1577, allocations: 0 / 0.8301 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.1577, allocations: 7.984 kB / 0.8301 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1578, allocations: 8.031 kB / 0.8301 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1578, allocations: 0 / 0.8301 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002547/0.158, allocations: 249.9 kB / 0.8303 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.158, allocations: 4 kB / 0.8303 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003575/0.1584, allocations: 67.86 kB / 0.8304 GB, free: 9.973 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 (2): * Single equations (assignments): 2 * 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.000294/0.1587, allocations: 155.1 kB / 0.8306 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.159, allocations: 147.9 kB / 0.8307 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.159, allocations: 0 / 0.8307 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1591, allocations: 51.91 kB / 0.8307 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1594, allocations: 19.25 kB / 0.8308 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.1601, allocations: 387.7 kB / 0.8311 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1604, allocations: 0.7428 MB / 0.8319 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.993e-05/0.1605, allocations: 16.55 kB / 0.8319 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.1605, allocations: 11.44 kB / 0.8319 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1605, allocations: 0 / 0.8319 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of Templates: time 0.8723/1.033, allocations: 2.122 MB / 0.834 GB, free: 6.273 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.689875302836299] Failed to read output from testmodel.py, exit status != 0: 1.0449221008457243 1.058089928 0.903117348 Calling exit ...