Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate") translateModel(IBPSA.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001567/0.001567, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7491/0.7491, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 74.77 kB / 0.5583 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1408, allocations: 76.18 MB / 0.6327 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.002449/0.1432, allocations: 1.442 MB / 0.6342 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1445, allocations: 0.7838 MB / 0.6349 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.1445, allocations: 0 / 0.6349 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1448, allocations: 135.7 kB / 0.635 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.1454, allocations: 191.5 kB / 0.6352 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1455, allocations: 71.8 kB / 0.6353 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1456, allocations: 63.86 kB / 0.6354 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.1457, allocations: 4 kB / 0.6354 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.1458, allocations: 43.88 kB / 0.6354 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1459, allocations: 83.8 kB / 0.6355 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.146, allocations: 4 kB / 0.6355 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1464, allocations: 235.7 kB / 0.6357 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1465, allocations: 95.73 kB / 0.6358 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.1466, allocations: 83.28 kB / 0.6359 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1469, allocations: 330.9 kB / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1469, allocations: 4 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.147, allocations: 0 / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.147, allocations: 0 / 0.6362 GB, free: 0.7969 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.0006942/0.1477, allocations: 0.568 MB / 0.6368 GB, free: 184 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1477, allocations: 8.031 kB / 0.6368 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.1478, allocations: 28.56 kB / 0.6368 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1481, allocations: 378.3 kB / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1481, allocations: 4.375 kB / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1482, allocations: 384 / 0.6372 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1484, allocations: 89.95 kB / 0.6372 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1484, allocations: 0 / 0.6372 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1484, allocations: 0 / 0.6372 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1484, allocations: 4 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1486, allocations: 103.9 kB / 0.6373 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.1491, allocations: 456.7 kB / 0.6378 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1493, allocations: 106.5 kB / 0.6379 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1494, allocations: 56.89 kB / 0.6379 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.1495, allocations: 23.98 kB / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1495, allocations: 30.56 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1495, allocations: 0 / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004519/0.15, allocations: 217.1 kB / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.15, allocations: 59.53 kB / 0.6383 GB, free: 14.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.1505, allocations: 0.5365 MB / 0.6388 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1506, allocations: 25.7 kB / 0.6388 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.1507, allocations: 160 kB / 0.639 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.1507, allocations: 7.906 kB / 0.639 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1508, allocations: 45.61 kB / 0.639 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1509, allocations: 338.8 kB / 0.6393 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1511, allocations: 103.9 kB / 0.6394 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1512, allocations: 95.94 kB / 0.6395 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1515, allocations: 172.7 kB / 0.6397 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1515, allocations: 3.938 kB / 0.6397 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004113/0.1519, allocations: 275.7 kB / 0.64 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1519, allocations: 4 kB / 0.64 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.152, allocations: 4 kB / 0.64 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.152, allocations: 0 / 0.64 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1521, allocations: 27.98 kB / 0.64 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1521, allocations: 0 / 0.64 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.1522, allocations: 11.98 kB / 0.64 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1522, allocations: 4 kB / 0.64 GB, free: 12.68 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001348/0.1524, allocations: 173.2 kB / 0.6402 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1524, allocations: 27.62 kB / 0.6402 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1528, allocations: 167.8 kB / 0.6404 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1528, allocations: 4 kB / 0.6404 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1528, allocations: 0 / 0.6404 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1528, allocations: 0 / 0.6404 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.153, allocations: 277.5 kB / 0.6406 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.153, allocations: 0 / 0.6406 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.1531, allocations: 11.92 kB / 0.6406 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1531, allocations: 0 / 0.6406 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1531, allocations: 8.031 kB / 0.6406 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1531, allocations: 0 / 0.6406 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1532, allocations: 0 / 0.6406 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1535, allocations: 259 kB / 0.6409 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.1536, allocations: 116.7 kB / 0.641 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1536, allocations: 0 / 0.641 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.1537, allocations: 12.02 kB / 0.641 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1537, allocations: 0 / 0.641 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1537, allocations: 0 / 0.641 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.1542, allocations: 399.1 kB / 0.6414 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1542, allocations: 3.938 kB / 0.6414 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.1545, allocations: 83.98 kB / 0.6415 GB, free: 11.07 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.0002729/0.1548, allocations: 151.1 kB / 0.6416 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.1552, allocations: 175.8 kB / 0.6418 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1552, allocations: 0 / 0.6418 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1553, allocations: 55.95 kB / 0.6418 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1557, allocations: 17.5 kB / 0.6419 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.1564, allocations: 0.5183 MB / 0.6424 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1567, allocations: 0.7694 MB / 0.6431 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.1567, allocations: 19.44 kB / 0.6431 GB, free: 9.309 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1568, allocations: 0 / 0.6431 GB, free: 9.309 MB / 494.1 MB Notification: Performance of Templates: time 0.005206/0.162, allocations: 3.354 MB / 0.6464 GB, free: 5.973 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)