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.00139/0.00139, allocations: 110 kB / 16.41 MB, free: 6.484 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.00117/0.00117, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.34/1.34, 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.7337/0.7337, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.61 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1525, allocations: 76.19 MB / 0.6321 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001692/0.1542, allocations: 0.6022 MB / 0.6327 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1561, allocations: 1.435 MB / 0.6341 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1561, allocations: 0 / 0.6341 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.417e-05/0.1562, allocations: 3.938 kB / 0.6341 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.1562, allocations: 0 / 0.6341 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.1569, allocations: 215.5 kB / 0.6343 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.157, allocations: 39.91 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.1571, allocations: 0 / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.1571, allocations: 15.97 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.1572, allocations: 19.92 kB / 0.6344 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1572, allocations: 4 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.1576, allocations: 255.6 kB / 0.6346 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.1576, allocations: 11.94 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.1576, allocations: 11.92 kB / 0.6347 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.1579, allocations: 211.6 kB / 0.6349 GB, free: 1.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1579, allocations: 0 / 0.6349 GB, free: 1.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1579, allocations: 7.938 kB / 0.6349 GB, free: 1.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1579, allocations: 0 / 0.6349 GB, free: 1.41 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.0003876/0.1583, allocations: 409 kB / 0.6353 GB, free: 0.957 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1584, allocations: 12.02 kB / 0.6353 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.1584, allocations: 4.938 kB / 0.6353 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1586, allocations: 172.2 kB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1586, allocations: 4.375 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1586, allocations: 384 / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1588, allocations: 81.97 kB / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1588, allocations: 0 / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1588, allocations: 0 / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1588, allocations: 0 / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.1589, allocations: 39.91 kB / 0.6356 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.159, allocations: 161.7 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.1591, allocations: 58.56 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.1592, allocations: 48.86 kB / 0.6358 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.1592, allocations: 8 kB / 0.6358 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1592, allocations: 34.5 kB / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1592, allocations: 0 / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002872/0.1595, allocations: 195.1 kB / 0.6361 GB, free: 28 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1596, allocations: 85.09 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.1596, allocations: 109.8 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1597, allocations: 29.7 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.1597, allocations: 84.14 kB / 0.6363 GB, free: 15.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1598, allocations: 31.81 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1598, allocations: 25.66 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.1599, allocations: 314.8 kB / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.16, allocations: 35.98 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.16, allocations: 35.97 kB / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1602, allocations: 140.2 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1602, allocations: 0 / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001718/0.1603, allocations: 151.3 kB / 0.637 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.1604, allocations: 41.62 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1604, allocations: 4.062 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1604, allocations: 0 / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-06/0.1604, allocations: 8 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1604, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.1605, allocations: 11.89 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1605, allocations: 4 kB / 0.6371 GB, free: 14.85 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 0.0001111/0.1606, allocations: 151.5 kB / 0.6373 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.1607, allocations: 7.938 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.1607, allocations: 8.359 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1607, allocations: 4 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1607, allocations: 0 / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.1607, allocations: 0 / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.1608, allocations: 173.5 kB / 0.6374 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1608, allocations: 0 / 0.6374 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1608, allocations: 3.938 kB / 0.6374 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1608, allocations: 3.938 kB / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1608, allocations: 4 kB / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1608, allocations: 0 / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1608, allocations: 0 / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1611, allocations: 198.7 kB / 0.6376 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.1611, allocations: 84.95 kB / 0.6377 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1611, allocations: 7.984 kB / 0.6377 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.1612, allocations: 4 kB / 0.6377 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.1612, allocations: 8 kB / 0.6377 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1612, allocations: 7.984 kB / 0.6378 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.1613, allocations: 87.91 kB / 0.6378 GB, free: 14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 0.6378 GB, free: 14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1615, allocations: 80.02 kB / 0.6379 GB, free: 13.92 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.000287/0.1618, allocations: 175.1 kB / 0.6381 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1621, allocations: 191.3 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1621, allocations: 0 / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1622, allocations: 155.3 kB / 0.6384 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1624, allocations: 8 kB / 0.6384 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.1627, allocations: 161.1 kB / 0.6386 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1629, allocations: 0.6846 MB / 0.6392 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.052e-06/0.1629, allocations: 0 / 0.6392 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-06/0.163, allocations: 7.438 kB / 0.6392 GB, free: 12.47 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.163, allocations: 0 / 0.6392 GB, free: 12.47 MB / 494.1 MB Notification: Performance of Templates: time 0.004261/0.1672, allocations: 2.037 MB / 0.6412 GB, free: 10.44 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)