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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001504/0.001504, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001924, allocations: 283 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8356/0.8356, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 101.2 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1248, allocations: 86.98 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001995/0.1268, allocations: 1.302 MB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.1277, allocations: 0.7207 MB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.1277, allocations: 0 / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.1277, allocations: 0 / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1279, allocations: 19.91 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.128, allocations: 47.19 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.1281, allocations: 31.92 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.981e-05/0.1281, allocations: 0 / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.1282, allocations: 15.97 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1283, allocations: 11.94 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1283, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.1284, allocations: 15.97 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.1284, allocations: 4 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1284, allocations: 7.875 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.1285, allocations: 32.17 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1285, allocations: 3.938 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1285, allocations: 4 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1286, allocations: 0 / 0.6817 GB, free: 14.89 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.0002714/0.1288, allocations: 323.5 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1289, allocations: 12.03 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.1289, allocations: 114 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.129, allocations: 80.16 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1291, allocations: 239.7 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.1292, allocations: 154.9 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.1292, allocations: 150.9 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.542e-05/0.1293, allocations: 101.5 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1293, allocations: 83.16 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.1293, allocations: 154.5 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.1294, allocations: 154.6 kB / 0.6832 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.1294, allocations: 158.6 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.1297, allocations: 449.9 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.1298, allocations: 165.1 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.1298, allocations: 84.08 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1298, allocations: 79.28 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1299, allocations: 105.9 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1299, allocations: 0 / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.173e-05/0.1299, allocations: 37.64 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.13, allocations: 126.7 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.1301, allocations: 109.8 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1301, allocations: 29.7 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1301, allocations: 88.05 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.1301, allocations: 0 / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.1302, allocations: 21.7 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.1303, allocations: 310.8 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.1303, allocations: 7.938 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.1303, allocations: 11.98 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.1304, allocations: 12.86 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1304, allocations: 4.094 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.777e-05/0.1305, allocations: 45.67 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1305, allocations: 7.938 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1305, allocations: 0 / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.1305, allocations: 0 / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1305, allocations: 0 / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1305, allocations: 7.984 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.1306, allocations: 0 / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1306, allocations: 4 kB / 0.685 GB, free: 11.28 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 8.52e-05/0.1307, allocations: 198.4 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.1307, allocations: 113.3 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.1308, allocations: 108.5 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.627e-05/0.1308, allocations: 180.2 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-05/0.1309, allocations: 180.2 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.583e-05/0.131, allocations: 192.3 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1312, allocations: 401.5 kB / 0.6863 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/0.1312, allocations: 109 kB / 0.6864 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1312, allocations: 112.9 kB / 0.6865 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-05/0.1313, allocations: 180.2 kB / 0.6867 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.1314, allocations: 180.2 kB / 0.6869 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-05/0.1314, allocations: 180.3 kB / 0.687 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.217e-05/0.1315, allocations: 184.2 kB / 0.6872 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1316, allocations: 303.8 kB / 0.6875 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.1317, allocations: 189.9 kB / 0.6877 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.1317, allocations: 188.2 kB / 0.6879 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.1318, allocations: 105 kB / 0.688 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.1319, allocations: 184.2 kB / 0.6881 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.1319, allocations: 101 kB / 0.6882 GB, free: 7.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.1319, allocations: 83.27 kB / 0.6883 GB, free: 7.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1319, allocations: 0 / 0.6883 GB, free: 7.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.1321, allocations: 4 kB / 0.6883 GB, free: 7.652 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.000406/0.1326, allocations: 0.8217 MB / 0.6891 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.1326, allocations: 11.98 kB / 0.6891 GB, free: 6.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1326, allocations: 4.062 kB / 0.6891 GB, free: 6.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1326, allocations: 0 / 0.6891 GB, free: 6.789 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.133, allocations: 0.5224 MB / 0.6896 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.1338, allocations: 1.288 MB / 0.6909 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.134, allocations: 0.6732 MB / 0.6916 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.454e-05/0.134, allocations: 8 kB / 0.6916 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.134, allocations: 15.42 kB / 0.6916 GB, free: 4.172 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.134, allocations: 0 / 0.6916 GB, free: 4.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.143, allocations: 1.163 MB / 0.6927 GB, free: 3.211 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.143, allocations: 259.4 kB / 0.693 GB, free: 2.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.65, allocations: 4 kB / 0.693 GB, free: 2.941 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)