Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009732/0.000973, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4873/0.4873, allocations: 90.8 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.3 MB / 348.3 MB, free: 484 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008804, allocations: 102.1 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.546e-05, allocations: 8 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 72.29 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4761, allocations: 102.5 MB / 0.6604 GB, free: 1.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4763, allocations: 83.94 kB / 0.6605 GB, free: 1.781 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009989/0.4864, allocations: 3.537 MB / 0.6639 GB, free: 14.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4864, allocations: 0 / 0.6639 GB, free: 14.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4864, allocations: 0 / 0.6639 GB, free: 14.25 MB / 490.7 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.0003416/0.4867, allocations: 408 kB / 0.6643 GB, free: 13.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4868, allocations: 15.98 kB / 0.6643 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.4868, allocations: 30.56 kB / 0.6643 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.4869, allocations: 7.953 kB / 0.6643 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.487, allocations: 170.9 kB / 0.6645 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.487, allocations: 0 / 0.6645 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.487, allocations: 4 kB / 0.6645 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4871, allocations: 65.64 kB / 0.6646 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.4872, allocations: 0.9375 kB / 0.6646 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.4872, allocations: 4 kB / 0.6646 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4872, allocations: 3.953 kB / 0.6646 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.4872, allocations: 23.98 kB / 0.6646 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.4874, allocations: 165.6 kB / 0.6648 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.4874, allocations: 54.5 kB / 0.6648 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.4875, allocations: 40.86 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.4875, allocations: 3.938 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4876, allocations: 38.56 kB / 0.6649 GB, free: 13.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.4876, allocations: 0 / 0.6649 GB, free: 13.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002266/0.4878, allocations: 129.8 kB / 0.665 GB, free: 12.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.4878, allocations: 81.11 kB / 0.6651 GB, free: 12.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.4879, allocations: 112.9 kB / 0.6652 GB, free: 12.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.488, allocations: 25.7 kB / 0.6652 GB, free: 12.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.996e-05/0.488, allocations: 84.3 kB / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.488, allocations: 23.69 kB / 0.6653 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4881, allocations: 8.031 kB / 0.6653 GB, free: 12.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.4882, allocations: 314.8 kB / 0.6656 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.4882, allocations: 27.97 kB / 0.6657 GB, free: 12.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.4882, allocations: 19.98 kB / 0.6657 GB, free: 12.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.4883, allocations: 55.62 kB / 0.6657 GB, free: 12.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4883, allocations: 4 kB / 0.6657 GB, free: 12.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001627/0.4885, allocations: 123.3 kB / 0.6659 GB, free: 12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4885, allocations: 37.69 kB / 0.6659 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4886, allocations: 4 kB / 0.6659 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4886, allocations: 64 / 0.6659 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.4886, allocations: 4 kB / 0.6659 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4886, allocations: 0 / 0.6659 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.4886, allocations: 15.84 kB / 0.6659 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.4887, allocations: 15.88 kB / 0.6659 GB, free: 11.92 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.089e-05/0.4887, allocations: 134.7 kB / 0.6661 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.4888, allocations: 4 kB / 0.6661 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.4888, allocations: 16.61 kB / 0.6661 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4888, allocations: 0 / 0.6661 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4888, allocations: 0 / 0.6661 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4888, allocations: 7.984 kB / 0.6661 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.4889, allocations: 169.5 kB / 0.6663 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4889, allocations: 1.031 kB / 0.6663 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.4889, allocations: 3.984 kB / 0.6663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4889, allocations: 0 / 0.6663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4889, allocations: 4 kB / 0.6663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.489, allocations: 4 kB / 0.6663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.489, allocations: 0 / 0.6663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4892, allocations: 178.7 kB / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.4892, allocations: 81.02 kB / 0.6665 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4892, allocations: 4 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.66e-05/0.4893, allocations: 4 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.4893, allocations: 7.938 kB / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4893, allocations: 12.55 kB / 0.6665 GB, free: 11.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.4894, allocations: 90.25 kB / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4894, allocations: 4 kB / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.4897, allocations: 83.91 kB / 0.6667 GB, free: 11.02 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006088/0.4903, allocations: 0.7913 MB / 0.6675 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.4905, allocations: 175.3 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4905, allocations: 2.438 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.4906, allocations: 131.4 kB / 0.6678 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.4907, allocations: 4 kB / 0.6678 GB, free: 9.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.4911, allocations: 190.5 kB / 0.668 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.4913, allocations: 0.6887 MB / 0.6686 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.32e-06/0.4913, allocations: 0 / 0.6686 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.4913, allocations: 19.44 kB / 0.6687 GB, free: 8.91 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4913, allocations: 0 / 0.6687 GB, free: 8.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.5045, allocations: 2.706 MB / 0.6713 GB, free: 6.371 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.5048, allocations: 164.2 kB / 0.6715 GB, free: 6.145 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/1.912, allocations: 7.438 kB / 0.6715 GB, free: 6.141 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)