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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 107.1 kB / 16.4 MB, free: 6.488 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.001237/0.001237, 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7379/0.7379, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.69 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1584, allocations: 76.18 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001659/0.1601, allocations: 0.5947 MB / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1619, allocations: 1.443 MB / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.1619, allocations: 0 / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.162, allocations: 0 / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.162, allocations: 4 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.1627, allocations: 207.5 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.1628, allocations: 39.91 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.1628, allocations: 7.984 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.36e-05/0.1629, allocations: 8 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.1629, allocations: 31.89 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.163, allocations: 3.938 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1633, allocations: 251.7 kB / 0.6342 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.1634, allocations: 7.938 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1634, allocations: 11.94 kB / 0.6342 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.1637, allocations: 219.5 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1637, allocations: 0 / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1637, allocations: 4 kB / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1637, allocations: 0 / 0.6344 GB, free: 2.031 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.0003932/0.1641, allocations: 399.9 kB / 0.6348 GB, free: 1.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1642, allocations: 8.031 kB / 0.6348 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.1642, allocations: 38.73 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1642, allocations: 0.9375 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1644, allocations: 177.1 kB / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1644, allocations: 384 / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1644, allocations: 12.36 kB / 0.635 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1646, allocations: 77.77 kB / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1646, allocations: 3.938 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1646, allocations: 4 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1646, allocations: 0 / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.1647, allocations: 35.97 kB / 0.6351 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1648, allocations: 161.7 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.405e-05/0.1649, allocations: 70.48 kB / 0.6353 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.165, allocations: 48.88 kB / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.165, allocations: 0 / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.165, allocations: 42.48 kB / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.165, allocations: 0 / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003011/0.1653, allocations: 187.2 kB / 0.6356 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1654, allocations: 81.11 kB / 0.6357 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.1655, allocations: 109.8 kB / 0.6358 GB, free: 400 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1655, allocations: 37.67 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1655, allocations: 84.14 kB / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1656, allocations: 27.64 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1656, allocations: 17.72 kB / 0.6359 GB, free: 216 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1657, allocations: 318.8 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.1658, allocations: 35.97 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.1658, allocations: 35.98 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.166, allocations: 148.3 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.166, allocations: 4.031 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.1662, allocations: 147.3 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.1662, allocations: 37.69 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1662, allocations: 0 / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1663, allocations: 0 / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1663, allocations: 0 / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1663, allocations: 0 / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1664, allocations: 23.89 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1664, allocations: 4 kB / 0.6367 GB, free: 15.43 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.293e-05/0.1665, allocations: 148.2 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1666, allocations: 7.938 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.1666, allocations: 8.375 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1666, allocations: 0 / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1666, allocations: 0 / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1666, allocations: 0 / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1667, allocations: 173.5 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1667, allocations: 0 / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-06/0.1667, allocations: 3.938 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1667, allocations: 7.938 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1667, allocations: 0 / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1667, allocations: 4 kB / 0.637 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1668, allocations: 4 kB / 0.637 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.167, allocations: 191.4 kB / 0.6372 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.167, allocations: 92.88 kB / 0.6373 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.167, allocations: 4 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.1671, allocations: 4 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.1671, allocations: 7.938 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1671, allocations: 7.984 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.1672, allocations: 99.23 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1672, allocations: 0 / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1675, allocations: 79.98 kB / 0.6375 GB, free: 14.49 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.0006326/0.1681, allocations: 0.7897 MB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1684, allocations: 199.3 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1684, allocations: 0 / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1685, allocations: 155.3 kB / 0.6386 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.1686, allocations: 4 kB / 0.6386 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1691, allocations: 226.5 kB / 0.6388 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1694, allocations: 0.6807 MB / 0.6395 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.131e-06/0.1694, allocations: 0 / 0.6395 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1694, allocations: 15.44 kB / 0.6395 GB, free: 12.31 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1694, allocations: 128 / 0.6395 GB, free: 12.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.1881, allocations: 3.099 MB / 0.6425 GB, free: 9.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.74, allocations: 11.19 kB / 0.6425 GB, free: 9.301 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)