Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001513/0.001513, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.239/1.239, 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.001955/0.001955, allocations: 286.2 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8875/0.8875, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 94.16 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001964/0.1231, allocations: 1.317 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.1239, allocations: 0.7229 MB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1239, allocations: 0 / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.124, allocations: 0 / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.1242, allocations: 12.81 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.1243, allocations: 47.34 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.477e-05/0.1244, allocations: 29.03 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.806e-05/0.1244, allocations: 0 / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.1245, allocations: 12.92 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1246, allocations: 15.92 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1246, allocations: 0 / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.59e-05/0.1246, allocations: 11.94 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.1247, allocations: 11.98 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.1247, allocations: 11.92 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.111e-05/0.1248, allocations: 16.2 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1248, allocations: 0 / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1248, allocations: 4 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1248, allocations: 0 / 0.6819 GB, free: 14.75 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002672/0.1251, allocations: 327.5 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1251, allocations: 8.031 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.1252, allocations: 114 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.1252, allocations: 84.16 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1253, allocations: 239.7 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.1254, allocations: 150.9 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1254, allocations: 154.9 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.911e-05/0.1255, allocations: 105.5 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1255, allocations: 87.22 kB / 0.6831 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.1256, allocations: 154.5 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.1256, allocations: 150.6 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.1256, allocations: 150.6 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.1259, allocations: 449.9 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.1259, allocations: 173.1 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.126, allocations: 80.14 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.126, allocations: 79.28 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.126, allocations: 113.8 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.126, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.184e-05/0.1261, allocations: 38.2 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1262, allocations: 126.7 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.1262, allocations: 109.8 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1263, allocations: 33.64 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1263, allocations: 84.05 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.1263, allocations: 0 / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1263, allocations: 13.72 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.1264, allocations: 318.8 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.1264, allocations: 8 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.1265, allocations: 8 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.1265, allocations: 16.84 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1265, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.511e-05/0.1266, allocations: 37.7 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1266, allocations: 11.94 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1266, allocations: 0 / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.1266, allocations: 4.234 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-06/0.1267, allocations: 8.062 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1267, allocations: 4 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.1267, allocations: 0 / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1268, allocations: 4 kB / 0.6852 GB, free: 11.13 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: 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 7.482e-05/0.1268, allocations: 182.4 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.1269, allocations: 116.8 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.1269, allocations: 104.5 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-05/0.127, allocations: 188.2 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-05/0.127, allocations: 180.3 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/0.1271, allocations: 184.2 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.1273, allocations: 405.2 kB / 0.6865 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/0.1273, allocations: 101 kB / 0.6866 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.1273, allocations: 108.9 kB / 0.6867 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.772e-05/0.1274, allocations: 184.2 kB / 0.6869 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.1274, allocations: 188.2 kB / 0.687 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/0.1275, allocations: 176.3 kB / 0.6872 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-05/0.1275, allocations: 184.2 kB / 0.6874 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/0.1276, allocations: 307.8 kB / 0.6877 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1277, allocations: 189.9 kB / 0.6879 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.1278, allocations: 188.2 kB / 0.688 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.1278, allocations: 104.9 kB / 0.6881 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.1279, allocations: 180.2 kB / 0.6883 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1279, allocations: 109 kB / 0.6884 GB, free: 7.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.128, allocations: 83.28 kB / 0.6885 GB, free: 7.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 0.6885 GB, free: 7.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.1282, allocations: 4 kB / 0.6885 GB, free: 7.512 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 (0): * Single equations (assignments): 0 * 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.0003841/0.1286, allocations: 0.8265 MB / 0.6893 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.043e-05/0.1286, allocations: 7.984 kB / 0.6893 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1286, allocations: 0 / 0.6893 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.1287, allocations: 0 / 0.6893 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.129, allocations: 459.6 kB / 0.6897 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.1297, allocations: 1.295 MB / 0.691 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.1299, allocations: 0.6729 MB / 0.6917 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.13, allocations: 4 kB / 0.6917 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.13, allocations: 7.438 kB / 0.6917 GB, free: 4.117 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.13, allocations: 0 / 0.6917 GB, free: 4.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/0.479, allocations: 1.205 MB / 0.6929 GB, free: 3.133 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.4793, allocations: 252.2 kB / 0.6931 GB, free: 2.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/3.228, allocations: 3.938 kB / 0.6931 GB, free: 2.871 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)