Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_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.001368/0.001368, allocations: 109.4 kB / 15.69 MB, free: 128 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.001587/0.001587, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 72.69 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2608, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00274/0.2636, allocations: 0.6093 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.2659, allocations: 1.475 MB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.266, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.053e-05/0.2661, allocations: 7.922 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.2661, allocations: 3.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.267, allocations: 218.5 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2672, allocations: 31.97 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.2672, allocations: 4.281 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.2673, allocations: 15.92 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.2673, allocations: 23.91 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2673, allocations: 4 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.2678, allocations: 247.6 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.2679, allocations: 11.97 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.2679, allocations: 15.88 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.2684, allocations: 211.6 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2684, allocations: 4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2684, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2684, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB 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.0005578/0.2689, allocations: 409 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.269, allocations: 8.031 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.269, allocations: 34.75 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.2691, allocations: 4.938 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2693, allocations: 184.1 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2693, allocations: 384 / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.2694, allocations: 8.375 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2695, allocations: 73.78 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2696, allocations: 0 / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2696, allocations: 0 / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2696, allocations: 0 / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.2697, allocations: 39.97 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.2699, allocations: 157.7 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.27, allocations: 62.48 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.2701, allocations: 56.86 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.2701, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2702, allocations: 34.5 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2702, allocations: 0 / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003493/0.2705, allocations: 191.2 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.2706, allocations: 85.11 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2707, allocations: 117.8 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2707, allocations: 25.7 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.2708, allocations: 92.17 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.2708, allocations: 15.66 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.2709, allocations: 25.7 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.271, allocations: 314.8 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.2711, allocations: 35.97 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.2712, allocations: 39.91 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2713, allocations: 144.2 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2713, allocations: 0 / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002018/0.2716, allocations: 163.4 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.2716, allocations: 37.69 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2716, allocations: 3.938 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2716, allocations: 3.938 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.2716, allocations: 0 / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2717, allocations: 4 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.2718, allocations: 8 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.2719, allocations: 8 kB / 0.7887 GB, free: 7.742 MB / 0.6075 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 (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.0001668/0.272, allocations: 152.2 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.272, allocations: 11.97 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.2721, allocations: 8.375 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2721, allocations: 3.984 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2721, allocations: 0 / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2721, allocations: 0 / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2722, allocations: 169.5 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2722, allocations: 0 / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/0.2722, allocations: 3.938 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2722, allocations: 0 / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2723, allocations: 4 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2723, allocations: 0 / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2723, allocations: 4 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.2725, allocations: 194.7 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2726, allocations: 92.89 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2726, allocations: 4 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.2726, allocations: 7.984 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.2727, allocations: 4 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2727, allocations: 8 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.2728, allocations: 95.92 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2728, allocations: 0 / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000333/0.2731, allocations: 71.98 kB / 0.7895 GB, free: 6.816 MB / 0.6075 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 (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.0007435/0.2739, allocations: 0.7822 MB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.2742, allocations: 203.2 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2742, allocations: 4.094 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2743, allocations: 159.3 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.2745, allocations: 8 kB / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.275, allocations: 223.5 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.2755, allocations: 0.6884 MB / 0.7915 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.713e-06/0.2755, allocations: 0 / 0.7915 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.2755, allocations: 19.44 kB / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2755, allocations: 0 / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.297, allocations: 3.085 MB / 0.7946 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.407, allocations: 8 kB / 0.7946 GB, free: 1.641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)