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.001291/0.001291, allocations: 108 kB / 15.6 MB, free: 132 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.001655/0.001655, allocations: 192 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 289.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 98.38 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1395, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0017/0.1412, allocations: 0.6058 MB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1429, allocations: 1.441 MB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.1429, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.143, allocations: 3.938 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.143, allocations: 0.5938 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.1436, allocations: 215 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.1437, allocations: 35.97 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1438, allocations: 3.938 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.1438, allocations: 20.77 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.1439, allocations: 19.97 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1439, allocations: 8 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.1442, allocations: 243.6 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.1443, allocations: 15.91 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1443, allocations: 15.88 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1446, allocations: 207.6 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1446, allocations: 4 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1446, allocations: 0 / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1446, allocations: 0 / 0.6831 GB, free: 13.75 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.000367/0.145, allocations: 397.2 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.145, allocations: 8.031 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.145, allocations: 38.75 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1451, allocations: 8.781 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1452, allocations: 176.2 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1452, allocations: 384 / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1452, allocations: 4.375 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1454, allocations: 73.78 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1454, allocations: 0 / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1454, allocations: 4 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1454, allocations: 3.938 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.1455, allocations: 39.95 kB / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.1456, allocations: 165.7 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.1457, allocations: 62.5 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.1458, allocations: 52.86 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.1458, allocations: 0 / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1458, allocations: 42.5 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1458, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000289/0.1461, allocations: 191.2 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1462, allocations: 85.09 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.1462, allocations: 109.8 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1463, allocations: 33.64 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.1463, allocations: 84.14 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1463, allocations: 27.64 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1464, allocations: 17.72 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.1465, allocations: 318.8 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.1465, allocations: 36.02 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.1466, allocations: 39.97 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1467, allocations: 140.8 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1467, allocations: 0 / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.1469, allocations: 159.3 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.1469, allocations: 39.72 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.147, allocations: 0 / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.147, allocations: 0 / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.147, allocations: 0 / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.147, allocations: 0 / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.614e-05/0.1471, allocations: 19.95 kB / 0.6853 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1471, allocations: 8 kB / 0.6853 GB, free: 11.14 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 8.482e-05/0.1472, allocations: 144.8 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1472, allocations: 7.938 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.126e-05/0.1472, allocations: 12.36 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1473, allocations: 0 / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1473, allocations: 0 / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1473, allocations: 0 / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.1474, allocations: 173.6 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.1474, allocations: 4 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-06/0.1474, allocations: 11.88 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1474, allocations: 0 / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1474, allocations: 0 / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1474, allocations: 4 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1474, allocations: 0 / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1476, allocations: 198.6 kB / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.1477, allocations: 88.89 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1477, allocations: 8.031 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.1477, allocations: 7.984 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.1477, allocations: 4 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1478, allocations: 4 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.97e-05/0.1478, allocations: 91.27 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1478, allocations: 0 / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1481, allocations: 71.98 kB / 0.6861 GB, free: 10.22 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.0005858/0.1487, allocations: 0.7874 MB / 0.6869 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1489, allocations: 211.2 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1489, allocations: 0 / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.149, allocations: 155.3 kB / 0.6872 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1492, allocations: 4.75 kB / 0.6872 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.1496, allocations: 222.7 kB / 0.6875 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1499, allocations: 0.6885 MB / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.1499, allocations: 0 / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.1499, allocations: 12.31 kB / 0.6881 GB, free: 8.027 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1499, allocations: 0 / 0.6881 GB, free: 8.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.1679, allocations: 3.097 MB / 0.6912 GB, free: 5.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.048, allocations: 27.64 kB / 0.6912 GB, free: 5.043 MB / 494.1 MB (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)