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.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.0009308/0.0009308, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001068/0.001068, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.001643/0.001643, allocations: 243 kB / 260.5 MB, free: 12.71 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.7108/0.7108, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.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 1.182e-06/1.182e-06, allocations: 0 / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.232e-05, allocations: 2.859 kB / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.001837/0.00185, allocations: 1.562 MB / 463.9 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.002926, allocations: 0.7455 MB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.002966, allocations: 0 / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.003214, allocations: 133.3 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.003319, allocations: 72.7 kB / 464.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.00394, allocations: 189.5 kB / 465.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.004057, allocations: 68.69 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.004089, allocations: 3.547 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.004176, allocations: 49.42 kB / 465.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.004275, allocations: 65.67 kB / 465.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.004287, allocations: 2.375 kB / 465.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.004652, allocations: 247.3 kB / 465.5 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.004732, allocations: 60.56 kB / 465.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.004765, allocations: 26.45 kB / 465.6 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.005099, allocations: 299.7 kB / 465.9 MB, free: 15.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005101, allocations: 1 kB / 465.9 MB, free: 15.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005101, allocations: 1.406 kB / 465.9 MB, free: 15.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.005105, allocations: 1.156 kB / 465.9 MB, free: 15.02 MB / 426.7 MB 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.0004231/0.005528, allocations: 412.4 kB / 466.3 MB, free: 14.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.005564, allocations: 8.75 kB / 466.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.005595, allocations: 13.58 kB / 466.3 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005737, allocations: 166 kB / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.005745, allocations: 5 kB / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.005755, allocations: 5.562 kB / 466.5 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.005847, allocations: 53.78 kB / 466.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005855, allocations: 192 / 466.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.005861, allocations: 1.75 kB / 466.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.005869, allocations: 3.938 kB / 466.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.00589, allocations: 11.92 kB / 466.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.006081, allocations: 177.9 kB / 466.7 MB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.006135, allocations: 74.75 kB / 466.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.006147, allocations: 5.609 kB / 466.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.006182, allocations: 18.23 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.006201, allocations: 34.56 kB / 466.8 MB, free: 14.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.006202, allocations: 0 / 466.8 MB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 9.282e-05/0.006295, allocations: 50.72 kB / 466.9 MB, free: 13.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.006324, allocations: 51.41 kB / 466.9 MB, free: 13.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.006477, allocations: 262.9 kB / 467.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.00649, allocations: 30.36 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.006538, allocations: 112.5 kB / 467.3 MB, free: 13.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.006547, allocations: 5.344 kB / 467.3 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.006576, allocations: 25.69 kB / 467.4 MB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.006665, allocations: 334.8 kB / 467.7 MB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.006687, allocations: 16.45 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.006703, allocations: 26.31 kB / 467.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.006744, allocations: 47.62 kB / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006746, allocations: 0 / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 7.491e-05/0.00682, allocations: 82.23 kB / 467.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006832, allocations: 8 kB / 467.9 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006837, allocations: 0 / 467.9 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.006849, allocations: 3.938 kB / 467.9 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.006893, allocations: 5.078 kB / 467.9 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006896, allocations: 0 / 467.9 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.00692, allocations: 16.55 kB / 467.9 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.006926, allocations: 4 kB / 467.9 MB, free: 12.91 MB / 426.7 MB 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 6.282e-05/0.006989, allocations: 113.3 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.007006, allocations: 13.8 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.007078, allocations: 54.7 kB / 468.1 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.007082, allocations: 11.88 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007083, allocations: 0 / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007086, allocations: 0.5625 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.007191, allocations: 103.4 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007191, allocations: 0 / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.007204, allocations: 4 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.007205, allocations: 1.094 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.007209, allocations: 3.984 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00721, allocations: 0 / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007211, allocations: 1.688 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.007292, allocations: 197.3 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.007314, allocations: 23.84 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.007325, allocations: 0 / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.007354, allocations: 0 / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.007379, allocations: 4.688 kB / 468.4 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.007381, allocations: 2.188 kB / 468.4 MB, free: 12.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.303e-05/0.007454, allocations: 98.59 kB / 468.5 MB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007454, allocations: 0 / 468.5 MB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.007666, allocations: 67.88 kB / 468.6 MB, free: 12.19 MB / 426.7 MB 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.0001827/0.007849, allocations: 152.2 kB / 468.7 MB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.007926, allocations: 33.75 kB / 468.8 MB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.00793, allocations: 4 kB / 468.8 MB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.007945, allocations: 12.8 kB / 468.8 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.008096, allocations: 12.66 kB / 468.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.008597, allocations: 338.1 kB / 469.1 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.008647, allocations: 79.31 kB / 469.2 MB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.00868, allocations: 14.2 kB / 469.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.008726, allocations: 59.91 kB / 469.3 MB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.008727, allocations: 1.406 kB / 469.3 MB, free: 11.45 MB / 426.7 MB Notification: Performance of Templates: time 0.003854/0.01258, allocations: 2.205 MB / 471.5 MB, free: 9.406 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5542660420760512]