Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate") translateModel(IBPSA.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 108.7 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 191.9 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7779/0.7779, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.28 kB / 0.5577 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 76.17 MB / 0.6321 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002453/0.1423, allocations: 1.49 MB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1434, allocations: 0.7362 MB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.1434, allocations: 0 / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1437, allocations: 131.7 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.1438, allocations: 75.83 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.1444, allocations: 179.5 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.703e-05/0.1445, allocations: 59.81 kB / 0.6347 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.1445, allocations: 7.984 kB / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.1446, allocations: 35.89 kB / 0.6348 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1447, allocations: 87.84 kB / 0.6348 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1447, allocations: 0 / 0.6348 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.1451, allocations: 231.7 kB / 0.6351 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.1451, allocations: 59.83 kB / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1452, allocations: 55.48 kB / 0.6352 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1455, allocations: 279.2 kB / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1455, allocations: 0 / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1455, allocations: 0 / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1455, allocations: 0 / 0.6354 GB, free: 0.9258 MB / 478.1 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.0005712/0.1461, allocations: 0.506 MB / 0.6359 GB, free: 380 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1462, allocations: 8.031 kB / 0.6359 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.1462, allocations: 20.66 kB / 0.636 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1464, allocations: 259.8 kB / 0.6362 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.1464, allocations: 384 / 0.6362 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1465, allocations: 4.375 kB / 0.6362 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1466, allocations: 81.91 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1467, allocations: 3.938 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1467, allocations: 0 / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1467, allocations: 7.938 kB / 0.6363 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1469, allocations: 83.94 kB / 0.6364 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.1474, allocations: 404.6 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1475, allocations: 82.53 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1476, allocations: 56.88 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1477, allocations: 15.98 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1477, allocations: 34.5 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1477, allocations: 4 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000426/0.1481, allocations: 181.4 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1482, allocations: 51.41 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.1485, allocations: 351.2 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1485, allocations: 25.7 kB / 0.6375 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.1486, allocations: 136.1 kB / 0.6377 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.1486, allocations: 11.84 kB / 0.6377 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1487, allocations: 25.7 kB / 0.6377 GB, free: 14.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1488, allocations: 334.8 kB / 0.638 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1489, allocations: 95.98 kB / 0.6381 GB, free: 13.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1491, allocations: 103.9 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.1494, allocations: 204.7 kB / 0.6384 GB, free: 13.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1494, allocations: 0 / 0.6384 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003388/0.1497, allocations: 260.2 kB / 0.6387 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1497, allocations: 8 kB / 0.6387 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1498, allocations: 0 / 0.6387 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1498, allocations: 0 / 0.6387 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.1499, allocations: 11.98 kB / 0.6387 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1499, allocations: 0 / 0.6387 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.1499, allocations: 11.84 kB / 0.6387 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.15, allocations: 7.984 kB / 0.6387 GB, free: 13.37 MB / 494.1 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 0.0001027/0.1501, allocations: 145.7 kB / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1501, allocations: 23.72 kB / 0.6389 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1504, allocations: 142.6 kB / 0.639 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1504, allocations: 0 / 0.639 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1504, allocations: 0 / 0.639 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1504, allocations: 4 kB / 0.639 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.1506, allocations: 249.5 kB / 0.6392 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1506, allocations: 0 / 0.6392 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.1507, allocations: 15.92 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1507, allocations: 4.031 kB / 0.6393 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1507, allocations: 0 / 0.6393 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1507, allocations: 3.938 kB / 0.6393 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1507, allocations: 0 / 0.6393 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.151, allocations: 235.1 kB / 0.6395 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.1511, allocations: 104.8 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1511, allocations: 4.031 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.1512, allocations: 7.984 kB / 0.6396 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1513, allocations: 0 / 0.6396 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1513, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.1515, allocations: 249.9 kB / 0.6398 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1515, allocations: 0 / 0.6398 GB, free: 12.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.1518, allocations: 64 kB / 0.6399 GB, free: 12.04 MB / 494.1 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.0002781/0.1521, allocations: 155.2 kB / 0.64 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.1524, allocations: 167.8 kB / 0.6402 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1524, allocations: 0 / 0.6402 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1525, allocations: 39.97 kB / 0.6402 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1528, allocations: 16.59 kB / 0.6403 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.1534, allocations: 370.6 kB / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1536, allocations: 0.7353 MB / 0.6413 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.1537, allocations: 12.56 kB / 0.6413 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.1537, allocations: 19.42 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1537, allocations: 4 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of Templates: time 0.004828/0.1586, allocations: 2.105 MB / 0.6434 GB, free: 8.363 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)