Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildingSystems_BuildingSystems_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.001314/0.001314, 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.001516/0.001516, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 282.5 kB / 290.3 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 0.8408/0.8408, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 94.5 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001422/0.1208, allocations: 0.6721 MB / 0.6804 GB, free: 288 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1222, allocations: 1.436 MB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.1222, allocations: 0 / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.1222, allocations: 4.562 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.1223, allocations: 8.703 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.1228, allocations: 189.3 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.1229, allocations: 39.92 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.039e-05/0.1229, allocations: 11.92 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.1229, allocations: 11.94 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.85e-05/0.123, allocations: 23.95 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.123, allocations: 11.94 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.1233, allocations: 243.7 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.1233, allocations: 11.97 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.1233, allocations: 15.88 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1236, allocations: 211.5 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1236, allocations: 0 / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1236, allocations: 0 / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1236, allocations: 0 / 0.6825 GB, free: 14.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002993/0.1239, allocations: 393.2 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.1239, allocations: 12.03 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.124, allocations: 34.75 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.124, allocations: 8.844 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.1241, allocations: 172.2 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1241, allocations: 4.375 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1241, allocations: 4.312 kB / 0.6831 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1242, allocations: 85.7 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.1243, allocations: 0 / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1243, allocations: 0 / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.1243, allocations: 0 / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.1243, allocations: 39.97 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.1244, allocations: 165.7 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/0.1245, allocations: 58.55 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.1246, allocations: 56.86 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.1246, allocations: 0 / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1246, allocations: 38.44 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.22e-07/0.1246, allocations: 0 / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000244/0.1249, allocations: 195.2 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1249, allocations: 81.09 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.125, allocations: 114.3 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.125, allocations: 29.7 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.125, allocations: 80.14 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1251, allocations: 23.66 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1251, allocations: 21.7 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.1252, allocations: 314.8 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.1252, allocations: 44 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.1253, allocations: 35.97 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1254, allocations: 148.3 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1254, allocations: 0 / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001566/0.1256, allocations: 151.4 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1256, allocations: 44.03 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1256, allocations: 0 / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.1256, allocations: 0 / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-07/0.1256, allocations: 4 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.1256, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1257, allocations: 11.97 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1257, allocations: 7.984 kB / 0.6848 GB, free: 11.46 MB / 494.1 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 () * 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 7.78e-05/0.1258, allocations: 148.8 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.1258, allocations: 7.938 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.996e-06/0.1259, allocations: 8.375 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1259, allocations: 0 / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1259, allocations: 7.922 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1259, allocations: 0 / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.126, allocations: 173.6 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.126, allocations: 4 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.126, allocations: 3.938 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.126, allocations: 0 / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.126, allocations: 4 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.126, allocations: 0 / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.126, allocations: 0 / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1262, allocations: 194.7 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.1262, allocations: 88.89 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1263, allocations: 8.031 kB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.1263, allocations: 7.984 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1263, allocations: 4 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1263, allocations: 8 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.945e-05/0.1264, allocations: 91.27 kB / 0.6855 GB, free: 10.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 0.6855 GB, free: 10.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1266, allocations: 79.98 kB / 0.6856 GB, free: 10.54 MB / 494.1 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 () * 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.0005301/0.1272, allocations: 0.7897 MB / 0.6864 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1274, allocations: 207.3 kB / 0.6866 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1274, allocations: 0 / 0.6866 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1275, allocations: 147.4 kB / 0.6867 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1276, allocations: 11.98 kB / 0.6867 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.128, allocations: 234.7 kB / 0.687 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.1282, allocations: 0.6846 MB / 0.6876 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.857e-06/0.1282, allocations: 3.938 kB / 0.6876 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.1282, allocations: 11.44 kB / 0.6877 GB, free: 8.332 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1282, allocations: 0 / 0.6877 GB, free: 8.332 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4898/0.618, allocations: 3.01 MB / 0.6906 GB, free: 5.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.6183, allocations: 232.8 kB / 0.6908 GB, free: 5.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.757, allocations: 2.875 kB / 0.6908 GB, free: 5.238 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)