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.001524/0.001524, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001762/0.001762, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002487/0.002487, allocations: 306.2 kB / 313.5 MB, free: 2.613 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.192/1.192, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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 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.002862/0.002862, allocations: 95.09 kB / 0.7408 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1637, allocations: 95.39 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001828/0.1656, allocations: 0.6117 MB / 0.8345 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1676, allocations: 1.433 MB / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1677, allocations: 0 / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/0.1677, allocations: 3.938 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.1678, allocations: 4 kB / 0.8359 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.1685, allocations: 224.2 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.1686, allocations: 35.97 kB / 0.8362 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1686, allocations: 4 kB / 0.8362 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.1687, allocations: 11.94 kB / 0.8362 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.1687, allocations: 23.91 kB / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1687, allocations: 4 kB / 0.8362 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.1692, allocations: 267.6 kB / 0.8365 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.1692, allocations: 4 kB / 0.8365 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1692, allocations: 15.86 kB / 0.8365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1696, allocations: 219.4 kB / 0.8367 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1696, allocations: 4 kB / 0.8367 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1696, allocations: 0 / 0.8367 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1696, allocations: 0 / 0.8367 GB, free: 4.93 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.0004119/0.17, allocations: 331.6 kB / 0.837 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.17, allocations: 9.344 kB / 0.837 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.1701, allocations: 8.891 kB / 0.837 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1702, allocations: 118.5 kB / 0.8371 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1702, allocations: 384 / 0.8371 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1702, allocations: 4.375 kB / 0.8371 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1704, allocations: 111.6 kB / 0.8373 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1704, allocations: 0 / 0.8373 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1704, allocations: 7.984 kB / 0.8373 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.1704, allocations: 0 / 0.8373 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.1705, allocations: 65.67 kB / 0.8373 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1706, allocations: 113.2 kB / 0.8374 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1707, allocations: 84.25 kB / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.1708, allocations: 74.5 kB / 0.8376 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.1708, allocations: 3.938 kB / 0.8376 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1708, allocations: 30.56 kB / 0.8376 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1708, allocations: 4 kB / 0.8376 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003564/0.1712, allocations: 254.8 kB / 0.8379 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.1712, allocations: 85.14 kB / 0.8379 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/0.1713, allocations: 109.8 kB / 0.838 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1714, allocations: 29.7 kB / 0.8381 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.1714, allocations: 88.12 kB / 0.8382 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1715, allocations: 23.81 kB / 0.8382 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1715, allocations: 25.64 kB / 0.8382 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1717, allocations: 318.8 kB / 0.8385 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1718, allocations: 65.61 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.1718, allocations: 65.67 kB / 0.8386 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.172, allocations: 148.2 kB / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.172, allocations: 0 / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002379/0.1722, allocations: 189.1 kB / 0.839 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.1723, allocations: 37.69 kB / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1723, allocations: 3.938 kB / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1723, allocations: 0 / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1723, allocations: 0 / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1723, allocations: 0 / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1724, allocations: 15.89 kB / 0.839 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1724, allocations: 4 kB / 0.839 GB, free: 2.281 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.0001218/0.1726, allocations: 156.1 kB / 0.8392 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.1726, allocations: 4 kB / 0.8392 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.1726, allocations: 16.34 kB / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1726, allocations: 0 / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1726, allocations: 0 / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1726, allocations: 0 / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.1727, allocations: 117.2 kB / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1727, allocations: 4 kB / 0.8393 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1727, allocations: 0 / 0.8393 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1727, allocations: 0 / 0.8393 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1727, allocations: 4 kB / 0.8393 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1727, allocations: 7.922 kB / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1727, allocations: 0 / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.173, allocations: 237 kB / 0.8395 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.173, allocations: 3.953 kB / 0.8395 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.173, allocations: 4 kB / 0.8395 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.1731, allocations: 11.92 kB / 0.8396 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1731, allocations: 4 kB / 0.8396 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1731, allocations: 4 kB / 0.8396 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.1732, allocations: 99.19 kB / 0.8397 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 0.8397 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002879/0.1735, allocations: 75.86 kB / 0.8397 GB, free: 1.469 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.0002972/0.1738, allocations: 163.1 kB / 0.8399 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.174, allocations: 222.7 kB / 0.8401 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.174, allocations: 0 / 0.8401 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1742, allocations: 149 kB / 0.8402 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.1743, allocations: 4 kB / 0.8402 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.1747, allocations: 224.2 kB / 0.8405 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.958e-05/0.1748, allocations: 75.33 kB / 0.8405 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.1748, allocations: 7.438 kB / 0.8405 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1748, allocations: 0 / 0.8405 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of Templates: time 0.003522/0.1783, allocations: 1.734 MB / 0.8422 GB, free: 14.81 MB / 0.5919 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: 8.335433440748602] Failed to read output from testmodel.py, exit status != 0: 0.1852693622931838 0.200087021 0.027614484 Calling exit ...