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.001061/0.001061, 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.001064/0.001064, allocations: 193.4 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.304/1.304, 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.002131/0.002131, allocations: 298.5 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8907/0.8907, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 102.1 kB / 0.5954 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.145, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001959/0.147, allocations: 0.6075 MB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.1492, allocations: 1.434 MB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1493, allocations: 4 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.707e-05/0.1493, allocations: 0 / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.1494, allocations: 3.984 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.1501, allocations: 210.5 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.1502, allocations: 35.95 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1502, allocations: 15.88 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.1503, allocations: 15.92 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.1503, allocations: 16.77 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1503, allocations: 0 / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.1508, allocations: 252.5 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.1508, allocations: 7.938 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.1509, allocations: 16.38 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.1512, allocations: 215.5 kB / 0.6831 GB, free: 13.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1512, allocations: 0.5312 kB / 0.6831 GB, free: 13.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1512, allocations: 5.094 kB / 0.6831 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1513, allocations: 0 / 0.6831 GB, free: 13.76 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.0006125/0.1519, allocations: 400 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1519, allocations: 8.031 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.152, allocations: 38.73 kB / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.152, allocations: 8.844 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1522, allocations: 172.2 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1522, allocations: 384 / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1522, allocations: 4.375 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1524, allocations: 77.72 kB / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1524, allocations: 0 / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1524, allocations: 7.938 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1524, allocations: 0 / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.1525, allocations: 35.97 kB / 0.6838 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.1528, allocations: 169.7 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1529, allocations: 58.55 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.153, allocations: 52.88 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.153, allocations: 3.938 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.1531, allocations: 46.42 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.053e-06/0.1531, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004176/0.1535, allocations: 183.2 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1536, allocations: 85.14 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1537, allocations: 113.8 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1537, allocations: 25.7 kB / 0.6845 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.1538, allocations: 84.3 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.1539, allocations: 31.62 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.1539, allocations: 17.72 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1541, allocations: 318.8 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.1541, allocations: 35.97 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.1542, allocations: 39.98 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.1544, allocations: 144.1 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1544, allocations: 0 / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003273/0.1547, allocations: 147.3 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.1548, allocations: 41.69 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1548, allocations: 0.625 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1548, allocations: 0 / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.1548, allocations: 0 / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1548, allocations: 0 / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.155, allocations: 15.89 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.155, allocations: 8.062 kB / 0.6853 GB, free: 11.16 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.0001779/0.1552, allocations: 144.8 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1553, allocations: 7.938 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.1553, allocations: 12.38 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1553, allocations: 0 / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1553, allocations: 0 / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1553, allocations: 4 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1555, allocations: 169.6 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1555, allocations: 3.938 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.1555, allocations: 11.92 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1555, allocations: 4 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1555, allocations: 0 / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1555, allocations: 0 / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1555, allocations: 4 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1558, allocations: 198.7 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.1559, allocations: 92.88 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1559, allocations: 4 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.1559, allocations: 8.031 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.156, allocations: 4 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.156, allocations: 7.984 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.1561, allocations: 91.22 kB / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1561, allocations: 0 / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.1565, allocations: 75.98 kB / 0.6861 GB, free: 10.23 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.0008035/0.1573, allocations: 0.7936 MB / 0.6869 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1575, allocations: 199.3 kB / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1576, allocations: 0 / 0.6871 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1577, allocations: 151.3 kB / 0.6872 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.1579, allocations: 6.469 kB / 0.6872 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.1584, allocations: 230.7 kB / 0.6875 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1587, allocations: 0.6846 MB / 0.6881 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.1587, allocations: 0 / 0.6881 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.1588, allocations: 11.44 kB / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1588, allocations: 0 / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/0.2171, allocations: 3.095 MB / 0.6912 GB, free: 5.078 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.928, allocations: 14.94 kB / 0.6912 GB, free: 5.066 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)