Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.001402/0.001402, 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.001443/0.001443, allocations: 193.7 kB / 16.25 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002314/0.002314, allocations: 294.8 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 105.8 kB / 0.606 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1429, allocations: 89.15 MB / 0.6931 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002543/0.1455, allocations: 1.559 MB / 0.6946 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1467, allocations: 0.7324 MB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.1467, allocations: 4 kB / 0.6953 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.1469, allocations: 131.7 kB / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.147, allocations: 63.89 kB / 0.6955 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.1475, allocations: 164 kB / 0.6957 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.901e-05/0.1476, allocations: 59.88 kB / 0.6957 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.1477, allocations: 7.938 kB / 0.6958 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.1477, allocations: 43.88 kB / 0.6958 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1478, allocations: 83.84 kB / 0.6959 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1479, allocations: 3.938 kB / 0.6959 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1482, allocations: 223.7 kB / 0.6961 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.1483, allocations: 67.75 kB / 0.6962 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.1483, allocations: 59.48 kB / 0.6962 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1487, allocations: 267.3 kB / 0.6965 GB, free: 1.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1487, allocations: 0 / 0.6965 GB, free: 1.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1487, allocations: 0 / 0.6965 GB, free: 1.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.1487, allocations: 4 kB / 0.6965 GB, free: 1.168 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.0006074/0.1493, allocations: 0.5021 MB / 0.697 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1493, allocations: 12.03 kB / 0.697 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.1494, allocations: 30.75 kB / 0.697 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1494, allocations: 20.66 kB / 0.697 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1497, allocations: 263.7 kB / 0.6973 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1497, allocations: 384 / 0.6973 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1497, allocations: 8.344 kB / 0.6973 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1499, allocations: 81.73 kB / 0.6974 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1499, allocations: 0 / 0.6974 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1499, allocations: 0 / 0.6974 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1499, allocations: 3.984 kB / 0.6974 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1501, allocations: 91.92 kB / 0.6975 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.1506, allocations: 388.7 kB / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1508, allocations: 98.45 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1509, allocations: 44.89 kB / 0.698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.151, allocations: 19.98 kB / 0.698 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.151, allocations: 34.56 kB / 0.698 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.151, allocations: 0 / 0.698 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003943/0.1514, allocations: 173.3 kB / 0.6982 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1515, allocations: 55.41 kB / 0.6982 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1518, allocations: 355.3 kB / 0.6986 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1518, allocations: 25.7 kB / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.1519, allocations: 136.1 kB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.152, allocations: 7.844 kB / 0.6987 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.152, allocations: 33.64 kB / 0.6988 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1522, allocations: 342.8 kB / 0.6991 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1523, allocations: 91.95 kB / 0.6992 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1525, allocations: 101.5 kB / 0.6993 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1527, allocations: 204.8 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1528, allocations: 0 / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003495/0.1531, allocations: 250.8 kB / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1531, allocations: 4 kB / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1531, allocations: 3.938 kB / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1532, allocations: 0 / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.1532, allocations: 19.92 kB / 0.6997 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1532, allocations: 3.938 kB / 0.6997 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.1533, allocations: 11.84 kB / 0.6997 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1533, allocations: 0 / 0.6997 GB, free: 13.58 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001193/0.1535, allocations: 153.7 kB / 0.6999 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.1535, allocations: 23.72 kB / 0.6999 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.1538, allocations: 146.5 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1538, allocations: 0 / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1538, allocations: 0 / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1538, allocations: 0 / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1541, allocations: 245.5 kB / 0.7003 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1541, allocations: 4 kB / 0.7003 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.1541, allocations: 7.984 kB / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1541, allocations: 0 / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1541, allocations: 4 kB / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1541, allocations: 3.938 kB / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1542, allocations: 4.031 kB / 0.7003 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1544, allocations: 235.1 kB / 0.7005 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.1545, allocations: 96.83 kB / 0.7006 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1546, allocations: 4 kB / 0.7006 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.1546, allocations: 7.984 kB / 0.7006 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.1547, allocations: 4.031 kB / 0.7006 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1547, allocations: 0 / 0.7006 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002463/0.1549, allocations: 253.9 kB / 0.7009 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1549, allocations: 0 / 0.7009 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002955/0.1552, allocations: 64 kB / 0.7009 GB, free: 12.25 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.0007511/0.156, allocations: 0.8253 MB / 0.7018 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.1563, allocations: 159.9 kB / 0.7019 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1563, allocations: 0 / 0.7019 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1564, allocations: 47.91 kB / 0.702 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1567, allocations: 12.66 kB / 0.702 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.1596, allocations: 2.733 MB / 0.7046 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.16, allocations: 0.7396 MB / 0.7054 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.16, allocations: 12.56 kB / 0.7054 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.1601, allocations: 55.41 kB / 0.7054 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1601, allocations: 0 / 0.7054 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2604/0.4205, allocations: 4.131 MB / 0.7095 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/0.4208, allocations: 214.9 kB / 0.7097 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.257, allocations: 0 / 0.7097 GB, free: 3.32 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)