Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.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.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",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.001861/0.001861, 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.002028/0.002028, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.438/1.438, 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.002467/0.002467, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 102 kB / 0.6065 GB, free: 24.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1639, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.003208/0.1672, allocations: 1.473 MB / 0.695 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1686, allocations: 0.7722 MB / 0.6958 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1687, allocations: 4.656 kB / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.169, allocations: 135.2 kB / 0.6959 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005842/0.1696, allocations: 177.5 kB / 0.6961 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1698, allocations: 77.27 kB / 0.6962 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1699, allocations: 67.81 kB / 0.6962 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.17, allocations: 16.45 kB / 0.6962 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.1701, allocations: 39.89 kB / 0.6963 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1702, allocations: 87.78 kB / 0.6964 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1702, allocations: 4 kB / 0.6964 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.1707, allocations: 219.7 kB / 0.6966 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1708, allocations: 107.7 kB / 0.6967 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.171, allocations: 91.22 kB / 0.6968 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.1716, allocations: 346.9 kB / 0.6971 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1716, allocations: 0 / 0.6971 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1716, allocations: 0 / 0.6971 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1716, allocations: 4 kB / 0.6971 GB, free: 0.6289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009252/0.1725, allocations: 0.6068 MB / 0.6977 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1726, allocations: 8.031 kB / 0.6977 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1726, allocations: 30.75 kB / 0.6977 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.1727, allocations: 36.5 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1738, allocations: 0.916 MB / 0.6987 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1738, allocations: 4.375 kB / 0.6987 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.1738, allocations: 384 / 0.6987 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.174, allocations: 85.78 kB / 0.6987 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.174, allocations: 4 kB / 0.6988 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.174, allocations: 0 / 0.6988 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.174, allocations: 3.938 kB / 0.6988 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.1743, allocations: 103.9 kB / 0.6989 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.1751, allocations: 0.5864 MB / 0.6994 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1753, allocations: 106.5 kB / 0.6995 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1754, allocations: 56.89 kB / 0.6996 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.1755, allocations: 19.98 kB / 0.6996 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1755, allocations: 34.56 kB / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1755, allocations: 0 / 0.6996 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005151/0.176, allocations: 213.2 kB / 0.6998 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1761, allocations: 55.41 kB / 0.6999 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.1774, allocations: 1.209 MB / 0.7011 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1774, allocations: 33.62 kB / 0.7011 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1776, allocations: 172.1 kB / 0.7013 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1776, allocations: 7.906 kB / 0.7013 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1777, allocations: 9.719 kB / 0.7013 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1778, allocations: 358.9 kB / 0.7016 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.178, allocations: 47.97 kB / 0.7017 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1781, allocations: 51.95 kB / 0.7017 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1784, allocations: 108.8 kB / 0.7018 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1784, allocations: 4 kB / 0.7018 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003096/0.1787, allocations: 169.2 kB / 0.702 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1787, allocations: 4 kB / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1787, allocations: 0 / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1788, allocations: 4 kB / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.1789, allocations: 7.984 kB / 0.702 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1789, allocations: 0 / 0.702 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.1789, allocations: 4 kB / 0.702 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.179, allocations: 4 kB / 0.702 GB, free: 11.36 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001615/0.1791, allocations: 174.4 kB / 0.7022 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.1792, allocations: 27.62 kB / 0.7022 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.1795, allocations: 180 kB / 0.7024 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1796, allocations: 0 / 0.7024 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1796, allocations: 0 / 0.7024 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1796, allocations: 0 / 0.7024 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.1799, allocations: 293.5 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1799, allocations: 4.031 kB / 0.7027 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.18, allocations: 11.98 kB / 0.7027 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.1804, allocations: 267 kB / 0.7029 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1805, allocations: 128.6 kB / 0.703 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1805, allocations: 3.984 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1807, allocations: 4 kB / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1807, allocations: 4 kB / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1807, allocations: 0 / 0.7031 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001025/0.1817, allocations: 0.9636 MB / 0.704 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1817, allocations: 0 / 0.704 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004586/0.1822, allocations: 67.98 kB / 0.7041 GB, free: 9.16 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.00088/0.1831, allocations: 0.8487 MB / 0.7049 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1834, allocations: 104 kB / 0.705 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1835, allocations: 0 / 0.705 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1836, allocations: 55.91 kB / 0.705 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.184, allocations: 21.56 kB / 0.7051 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/0.192, allocations: 6.831 MB / 0.7117 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.1925, allocations: 0.7799 MB / 0.7125 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.079e-05/0.1926, allocations: 46.92 kB / 0.7125 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1927, allocations: 87.41 kB / 0.7126 GB, free: 260 kB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.1927, allocations: 4 kB / 0.7126 GB, free: 256 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.2244, allocations: 7.069 MB / 0.7195 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.118, allocations: 7.562 kB / 0.7195 GB, free: 9.281 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1)