Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 92.16 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 178.5 kB / 16.58 MB, free: 6.859 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.38/1.38, allocations: 223.3 MB / 240.6 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 115.5 MB / 407.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 12 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 77.52 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006163/0.1328, allocations: 339.6 kB / 0.5597 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1346, allocations: 1.395 MB / 0.561 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.1347, allocations: 4 kB / 0.561 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.1347, allocations: 3.938 kB / 0.561 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.1348, allocations: 4 kB / 0.561 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.1353, allocations: 154.9 kB / 0.5612 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.1354, allocations: 27.91 kB / 0.5612 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.1354, allocations: 0 / 0.5612 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1355, allocations: 15.98 kB / 0.5612 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1355, allocations: 35.89 kB / 0.5613 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1355, allocations: 0 / 0.5613 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.1359, allocations: 223.6 kB / 0.5615 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.1359, allocations: 7.984 kB / 0.5615 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.136, allocations: 33.7 kB / 0.5615 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1362, allocations: 139.8 kB / 0.5616 GB, free: 7.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1362, allocations: 0 / 0.5616 GB, free: 7.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1362, allocations: 0 / 0.5616 GB, free: 7.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1362, allocations: 3.938 kB / 0.5616 GB, free: 7.027 MB / 430.1 MB 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.0003445/0.1366, allocations: 393.2 kB / 0.562 GB, free: 6.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1366, allocations: 8.031 kB / 0.562 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1366, allocations: 7.906 kB / 0.562 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1368, allocations: 178.9 kB / 0.5622 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1368, allocations: 0 / 0.5622 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1368, allocations: 4 kB / 0.5622 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.137, allocations: 69.66 kB / 0.5623 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.137, allocations: 3.953 kB / 0.5623 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.137, allocations: 0 / 0.5623 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.137, allocations: 0 / 0.5623 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.1371, allocations: 43.97 kB / 0.5623 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.1372, allocations: 161.6 kB / 0.5625 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.1373, allocations: 70.48 kB / 0.5625 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.1374, allocations: 48.86 kB / 0.5626 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.1374, allocations: 0 / 0.5626 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1374, allocations: 30.56 kB / 0.5626 GB, free: 5.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1374, allocations: 0 / 0.5626 GB, free: 5.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003062/0.1377, allocations: 203.1 kB / 0.5628 GB, free: 5.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1378, allocations: 81.09 kB / 0.5629 GB, free: 5.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.1379, allocations: 109.8 kB / 0.563 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1379, allocations: 29.7 kB / 0.563 GB, free: 5.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.1379, allocations: 84.14 kB / 0.5631 GB, free: 5.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.138, allocations: 19.7 kB / 0.5631 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.138, allocations: 0 / 0.5631 GB, free: 5.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1381, allocations: 318.8 kB / 0.5634 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.1382, allocations: 40 kB / 0.5635 GB, free: 4.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.1382, allocations: 35.97 kB / 0.5635 GB, free: 4.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.85e-05/0.1383, allocations: 61.69 kB / 0.5636 GB, free: 4.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1383, allocations: 0 / 0.5636 GB, free: 4.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001894/0.1385, allocations: 159.4 kB / 0.5637 GB, free: 4.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.1385, allocations: 33.7 kB / 0.5637 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1386, allocations: 0 / 0.5637 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1386, allocations: 3.938 kB / 0.5637 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-06/0.1386, allocations: 7.938 kB / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1386, allocations: 0 / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.1387, allocations: 16 kB / 0.5638 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1387, allocations: 4 kB / 0.5638 GB, free: 4.594 MB / 430.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1388, allocations: 147.5 kB / 0.5639 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.1388, allocations: 11.91 kB / 0.5639 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.1389, allocations: 12.3 kB / 0.5639 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1389, allocations: 0 / 0.5639 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1389, allocations: 7.891 kB / 0.5639 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.1389, allocations: 0 / 0.5639 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.139, allocations: 161.7 kB / 0.5641 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.139, allocations: 8 kB / 0.5641 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.139, allocations: 0 / 0.5641 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.139, allocations: 3.984 kB / 0.5641 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.139, allocations: 4 kB / 0.5641 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.139, allocations: 0 / 0.5641 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.139, allocations: 4 kB / 0.5641 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1393, allocations: 203.2 kB / 0.5643 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1393, allocations: 77.11 kB / 0.5644 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1393, allocations: 4.031 kB / 0.5644 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.1394, allocations: 11.98 kB / 0.5644 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1394, allocations: 8 kB / 0.5644 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1394, allocations: 4 kB / 0.5644 GB, free: 3.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.517e-05/0.1395, allocations: 95.25 kB / 0.5645 GB, free: 3.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1395, allocations: 0 / 0.5645 GB, free: 3.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.1398, allocations: 79.94 kB / 0.5646 GB, free: 3.66 MB / 430.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.1401, allocations: 147.2 kB / 0.5647 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1403, allocations: 199.3 kB / 0.5649 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1403, allocations: 4 kB / 0.5649 GB, free: 3.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1405, allocations: 151.3 kB / 0.5651 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.1406, allocations: 5.719 kB / 0.5651 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1409, allocations: 178.6 kB / 0.5652 GB, free: 2.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1412, allocations: 0.6927 MB / 0.5659 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.248e-06/0.1412, allocations: 4 kB / 0.5659 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.1412, allocations: 7.438 kB / 0.5659 GB, free: 2.203 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1412, allocations: 0 / 0.5659 GB, free: 2.203 MB / 430.1 MB Notification: Performance of Templates: time 0.004439/0.1456, allocations: 1.954 MB / 0.5678 GB, free: 276 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)