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.001429/0.001429, allocations: 116.7 kB / 17.08 MB, free: 6.012 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.001554/0.001554, allocations: 195 kB / 18.02 MB, free: 5.094 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.482/1.482, allocations: 222.9 MB / 241.7 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.7506/0.7506, allocations: 115.3 MB / 407.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.97 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 76.19 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001815/0.1347, allocations: 0.596 MB / 0.6334 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1366, allocations: 1.435 MB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.1367, allocations: 0 / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.1368, allocations: 7.875 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.1368, allocations: 4 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.1375, allocations: 207.5 kB / 0.635 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.239e-05/0.1376, allocations: 39.91 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.1377, allocations: 7.984 kB / 0.635 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.1377, allocations: 15.98 kB / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.1378, allocations: 23.91 kB / 0.6351 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1378, allocations: 0 / 0.6351 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.1382, allocations: 251.6 kB / 0.6353 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.1383, allocations: 11.92 kB / 0.6353 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.1383, allocations: 11.94 kB / 0.6353 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.1386, allocations: 219.5 kB / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1386, allocations: 4 kB / 0.6355 GB, free: 1.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1386, allocations: 0 / 0.6355 GB, free: 1.516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1386, allocations: 0 / 0.6355 GB, free: 1.516 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004164/0.1391, allocations: 401 kB / 0.6359 GB, free: 1.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1391, allocations: 8.031 kB / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.1392, allocations: 4.938 kB / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1393, allocations: 180.2 kB / 0.6361 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1393, allocations: 384 / 0.6361 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1393, allocations: 4.375 kB / 0.6361 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1395, allocations: 77.97 kB / 0.6362 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1395, allocations: 0 / 0.6362 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1395, allocations: 0 / 0.6362 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1395, allocations: 0 / 0.6362 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.1396, allocations: 39.97 kB / 0.6362 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1398, allocations: 153.7 kB / 0.6364 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/0.1399, allocations: 70.48 kB / 0.6364 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.1399, allocations: 48.86 kB / 0.6365 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-06/0.1399, allocations: 4 kB / 0.6365 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.14, allocations: 42.5 kB / 0.6365 GB, free: 344 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.14, allocations: 0 / 0.6365 GB, free: 344 kB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003037/0.1403, allocations: 187.2 kB / 0.6367 GB, free: 144 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1404, allocations: 81.11 kB / 0.6368 GB, free: 44 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1405, allocations: 118.2 kB / 0.6369 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1405, allocations: 25.7 kB / 0.6369 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.1406, allocations: 92.06 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.1406, allocations: 27.69 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1407, allocations: 21.7 kB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1408, allocations: 318.8 kB / 0.6374 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.1408, allocations: 35.97 kB / 0.6374 GB, free: 15.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.1409, allocations: 32.28 kB / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.141, allocations: 152.2 kB / 0.6376 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1411, allocations: 0 / 0.6376 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000174/0.1412, allocations: 147.3 kB / 0.6377 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.1413, allocations: 45.69 kB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1413, allocations: 0 / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1413, allocations: 3.938 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1413, allocations: 0 / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1413, allocations: 0 / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1415, allocations: 7.906 kB / 0.6378 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.1415, allocations: 12 kB / 0.6378 GB, free: 14.96 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 (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 9.579e-05/0.1416, allocations: 147.5 kB / 0.6379 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.1416, allocations: 7.938 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.1416, allocations: 8.375 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1416, allocations: 7.984 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1416, allocations: 0 / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1417, allocations: 0 / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.1418, allocations: 173.5 kB / 0.6381 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1418, allocations: 0 / 0.6381 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.1418, allocations: 0 / 0.6381 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1418, allocations: 3.938 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1418, allocations: 4 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1418, allocations: 0 / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1418, allocations: 0 / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1421, allocations: 198.7 kB / 0.6383 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.1421, allocations: 88.95 kB / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1421, allocations: 0 / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.1422, allocations: 11.98 kB / 0.6384 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1422, allocations: 0 / 0.6384 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1422, allocations: 4 kB / 0.6384 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.156e-05/0.1423, allocations: 99.25 kB / 0.6385 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1423, allocations: 3.938 kB / 0.6385 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1426, allocations: 76.02 kB / 0.6386 GB, free: 14.02 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 (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.0002945/0.1429, allocations: 163.2 kB / 0.6387 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1432, allocations: 199.3 kB / 0.6389 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1432, allocations: 4 kB / 0.6389 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1433, allocations: 151.3 kB / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1435, allocations: 4 kB / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.1438, allocations: 189.5 kB / 0.6392 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1441, allocations: 0.6846 MB / 0.6399 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/0.1441, allocations: 11.44 kB / 0.6399 GB, free: 12.55 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1441, allocations: 0 / 0.6399 GB, free: 12.55 MB / 494.1 MB Notification: Performance of Templates: time 0.00339/0.1475, allocations: 1.716 MB / 0.6416 GB, free: 10.83 MB / 494.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)