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.001239/0.001239, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001211/0.001211, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 282.4 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 96.28 kB / 0.606 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1633, allocations: 89.15 MB / 0.6931 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002589/0.1659, allocations: 1.528 MB / 0.6946 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1671, allocations: 0.7782 MB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.1672, allocations: 0.6562 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1674, allocations: 136 kB / 0.6955 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.1679, allocations: 163.7 kB / 0.6956 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.168, allocations: 60.95 kB / 0.6957 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.1681, allocations: 71.8 kB / 0.6958 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.911e-05/0.1682, allocations: 15.94 kB / 0.6958 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.1683, allocations: 43.81 kB / 0.6958 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1684, allocations: 87.78 kB / 0.6959 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1684, allocations: 4 kB / 0.6959 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.1687, allocations: 223.7 kB / 0.6961 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1689, allocations: 103.7 kB / 0.6962 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.169, allocations: 95.22 kB / 0.6963 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.1694, allocations: 342.9 kB / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1694, allocations: 0 / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1694, allocations: 4 kB / 0.6966 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1694, allocations: 0 / 0.6966 GB, free: 0.9805 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.000786/0.1702, allocations: 0.6068 MB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1702, allocations: 12.03 kB / 0.6972 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.1703, allocations: 30.75 kB / 0.6973 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1703, allocations: 36.5 kB / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.1712, allocations: 0.916 MB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-06/0.1712, allocations: 384 / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1712, allocations: 4.375 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1714, allocations: 89.78 kB / 0.6983 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1714, allocations: 0 / 0.6983 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1715, allocations: 0 / 0.6983 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1715, allocations: 0 / 0.6983 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.1717, allocations: 99.92 kB / 0.6984 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.1724, allocations: 0.5942 MB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1725, allocations: 102.5 kB / 0.6991 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1727, allocations: 56.89 kB / 0.6991 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.1727, allocations: 15.98 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1727, allocations: 34.56 kB / 0.6992 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1728, allocations: 8 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004768/0.1732, allocations: 209.2 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1733, allocations: 51.41 kB / 0.6994 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1745, allocations: 1.216 MB / 0.7006 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1745, allocations: 29.7 kB / 0.7006 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1747, allocations: 168.1 kB / 0.7008 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1747, allocations: 16.02 kB / 0.7008 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1747, allocations: 13.72 kB / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1749, allocations: 346.8 kB / 0.7011 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.175, allocations: 55.95 kB / 0.7012 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.1751, allocations: 47.97 kB / 0.7012 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.1754, allocations: 104.9 kB / 0.7013 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1754, allocations: 0 / 0.7013 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002853/0.1757, allocations: 173.1 kB / 0.7015 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1757, allocations: 4 kB / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1757, allocations: 3.938 kB / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1757, allocations: 3.984 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.1758, allocations: 11.98 kB / 0.7015 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1758, allocations: 0 / 0.7015 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.1759, allocations: 8.031 kB / 0.7015 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1759, allocations: 3.984 kB / 0.7015 GB, free: 11.71 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.0001464/0.176, allocations: 166.4 kB / 0.7017 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.1761, allocations: 31.62 kB / 0.7017 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.1764, allocations: 176 kB / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1764, allocations: 4 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1764, allocations: 4.031 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1764, allocations: 0 / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1768, allocations: 297.5 kB / 0.7022 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1768, allocations: 0 / 0.7022 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.1768, allocations: 12 kB / 0.7022 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1768, allocations: 0 / 0.7022 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1769, allocations: 3.984 kB / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1769, allocations: 0 / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1769, allocations: 0 / 0.7022 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.1772, allocations: 267 kB / 0.7025 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1773, allocations: 124.7 kB / 0.7026 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1774, allocations: 0 / 0.7026 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.1775, allocations: 4 kB / 0.7026 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1775, allocations: 7.984 kB / 0.7026 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1775, allocations: 3.938 kB / 0.7026 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009899/0.1785, allocations: 0.9559 MB / 0.7035 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1785, allocations: 0 / 0.7035 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003326/0.1789, allocations: 72 kB / 0.7036 GB, free: 9.504 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.0008599/0.1797, allocations: 0.8487 MB / 0.7044 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.18, allocations: 99.94 kB / 0.7045 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.18, allocations: 0 / 0.7045 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1801, allocations: 59.89 kB / 0.7046 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1805, allocations: 21.56 kB / 0.7046 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/0.1878, allocations: 6.869 MB / 0.7113 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.1882, allocations: 0.7831 MB / 0.7121 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.302e-05/0.1883, allocations: 38.94 kB / 0.7121 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1884, allocations: 95.33 kB / 0.7122 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1885, allocations: 0 / 0.7122 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1898/0.3782, allocations: 6.926 MB / 0.719 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/0.3786, allocations: 209.9 kB / 0.7192 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.504, allocations: 0 / 0.7192 GB, free: 9.527 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)