Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_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.001265/0.001265, allocations: 108 kB / 15.61 MB, free: 152 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.001357/0.001357, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 283 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 178.5 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 110.3 kB / 0.6066 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1571, allocations: 89.14 MB / 0.6936 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001808/0.1589, allocations: 0.6138 MB / 0.6942 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1608, allocations: 1.442 MB / 0.6956 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.1608, allocations: 0.5312 kB / 0.6956 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.1609, allocations: 0.6562 kB / 0.6956 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.42e-05/0.1609, allocations: 11.38 kB / 0.6956 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.1615, allocations: 202.2 kB / 0.6958 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.1616, allocations: 39.91 kB / 0.6959 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.1617, allocations: 4 kB / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.1617, allocations: 19.92 kB / 0.6959 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.1618, allocations: 19.97 kB / 0.6959 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1618, allocations: 4 kB / 0.6959 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.1622, allocations: 243.7 kB / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.1622, allocations: 11.92 kB / 0.6961 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1622, allocations: 15.88 kB / 0.6962 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1625, allocations: 215.5 kB / 0.6964 GB, free: 1.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1625, allocations: 0 / 0.6964 GB, free: 1.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1625, allocations: 0 / 0.6964 GB, free: 1.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1625, allocations: 0 / 0.6964 GB, free: 1.352 MB / 494.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.0004152/0.163, allocations: 409.3 kB / 0.6968 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.163, allocations: 12.03 kB / 0.6968 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.1631, allocations: 34.73 kB / 0.6968 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.1631, allocations: 4.938 kB / 0.6968 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1632, allocations: 176.2 kB / 0.697 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1632, allocations: 384 / 0.697 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1633, allocations: 4.375 kB / 0.697 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1634, allocations: 77.72 kB / 0.6971 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1634, allocations: 3.938 kB / 0.6971 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1634, allocations: 3.938 kB / 0.6971 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1634, allocations: 4 kB / 0.6971 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.1635, allocations: 39.97 kB / 0.6971 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1637, allocations: 161.7 kB / 0.6973 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.1638, allocations: 62.55 kB / 0.6973 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.1639, allocations: 48.88 kB / 0.6974 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.1639, allocations: 3.984 kB / 0.6974 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1639, allocations: 38.44 kB / 0.6974 GB, free: 116 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1639, allocations: 4 kB / 0.6974 GB, free: 112 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003201/0.1642, allocations: 191.2 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.1643, allocations: 81.11 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.1644, allocations: 110.3 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1644, allocations: 25.7 kB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.1645, allocations: 88.14 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1645, allocations: 23.64 kB / 0.6979 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1645, allocations: 17.72 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1647, allocations: 326.9 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.1647, allocations: 31.97 kB / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.1648, allocations: 36 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1649, allocations: 148.3 kB / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.165, allocations: 0 / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001897/0.1651, allocations: 159.3 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.1652, allocations: 37.69 kB / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1652, allocations: 4 kB / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1652, allocations: 0 / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1652, allocations: 0 / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.1652, allocations: 4.062 kB / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-05/0.1653, allocations: 11.98 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1654, allocations: 4 kB / 0.6987 GB, free: 14.74 MB / 0.4981 GB 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.0001054/0.1655, allocations: 147.5 kB / 0.6988 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.1655, allocations: 7.938 kB / 0.6988 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.1655, allocations: 8.375 kB / 0.6988 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1655, allocations: 0 / 0.6988 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1655, allocations: 7.922 kB / 0.6988 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1655, allocations: 3.984 kB / 0.6988 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.1657, allocations: 173.5 kB / 0.699 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1657, allocations: 0 / 0.699 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-06/0.1657, allocations: 3.938 kB / 0.699 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1657, allocations: 0 / 0.699 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1657, allocations: 4 kB / 0.699 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1657, allocations: 0 / 0.699 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1657, allocations: 0 / 0.699 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.166, allocations: 198.7 kB / 0.6992 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.166, allocations: 96.91 kB / 0.6993 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.166, allocations: 8 kB / 0.6993 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.1661, allocations: 4 kB / 0.6993 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.1661, allocations: 3.984 kB / 0.6993 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1661, allocations: 8 kB / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.1662, allocations: 91.27 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002756/0.1665, allocations: 64 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB 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.0007077/0.1672, allocations: 0.8013 MB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1674, allocations: 199.3 kB / 0.7004 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1675, allocations: 4 kB / 0.7004 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1676, allocations: 151.3 kB / 0.7006 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1678, allocations: 8.688 kB / 0.7006 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.1682, allocations: 222.8 kB / 0.7008 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1685, allocations: 0.6846 MB / 0.7015 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.129e-06/0.1685, allocations: 0 / 0.7015 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1685, allocations: 15.42 kB / 0.7015 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1686, allocations: 3.938 kB / 0.7015 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1922, allocations: 3.1 MB / 0.7045 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.638, allocations: 5.984 kB / 0.7045 GB, free: 8.645 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)