Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001391/0.001391, 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.0008565/0.0008565, allocations: 194 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.109/1.109, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 294.7 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8168/0.8168, allocations: 169.2 MB / 0.4978 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 90.5 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 86.98 MB / 0.6797 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001824/0.1147, allocations: 1.287 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.1155, allocations: 0.7128 MB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1155, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.1155, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1157, allocations: 11.98 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.649e-05/0.1158, allocations: 8.641 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.032e-05/0.1158, allocations: 7.938 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.797e-05/0.1159, allocations: 0.7188 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.1159, allocations: 4 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.116, allocations: 10.48 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.116, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.383e-05/0.1161, allocations: 9.297 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.1161, allocations: 8 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.1161, allocations: 7.922 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.066e-05/0.1162, allocations: 16.27 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1162, allocations: 0.75 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1162, allocations: 0 / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1162, allocations: 0.625 kB / 0.6818 GB, free: 14.84 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.000259/0.1165, allocations: 330.6 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1165, allocations: 12.03 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.1166, allocations: 106 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.1166, allocations: 76.22 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1167, allocations: 247.6 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.1168, allocations: 154.9 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.1168, allocations: 154.9 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.186e-05/0.1169, allocations: 101.5 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1169, allocations: 79.22 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.1169, allocations: 154.6 kB / 0.6831 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.117, allocations: 158.5 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.117, allocations: 150.6 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.1172, allocations: 453.9 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.1173, allocations: 169.1 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.1173, allocations: 80.14 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1174, allocations: 75.28 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1174, allocations: 113.8 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1174, allocations: 0 / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.828e-05/0.1175, allocations: 29.64 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1175, allocations: 130.7 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.1176, allocations: 101.8 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1176, allocations: 25.7 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.1176, allocations: 84.08 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.1176, allocations: 0 / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.1177, allocations: 17.72 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.1177, allocations: 314.8 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-06/0.1177, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.1178, allocations: 4.516 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.1178, allocations: 79.22 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.1178, allocations: 75.28 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.62e-05/0.1179, allocations: 33.73 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.1179, allocations: 91.25 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.1179, allocations: 75.28 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.089e-05/0.118, allocations: 154.5 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.118, allocations: 75.39 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.594e-05/0.118, allocations: 170.5 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.1181, allocations: 75.28 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1181, allocations: 79.27 kB / 0.6858 GB, free: 10.45 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 (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 prepare postOptimizeDAE: time 7.658e-05/0.1182, allocations: 265.7 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.1183, allocations: 108.9 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.1183, allocations: 108.3 kB / 0.6863 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.1184, allocations: 188.2 kB / 0.6865 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-05/0.1184, allocations: 180.2 kB / 0.6866 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/0.1185, allocations: 180.3 kB / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1186, allocations: 405.2 kB / 0.6872 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.1186, allocations: 105 kB / 0.6873 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.1187, allocations: 104.9 kB / 0.6874 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.201e-05/0.1187, allocations: 184.2 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.1188, allocations: 188.2 kB / 0.6877 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.873e-05/0.1188, allocations: 180.2 kB / 0.6879 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-05/0.1189, allocations: 180.2 kB / 0.6881 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.119, allocations: 303.8 kB / 0.6884 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.119, allocations: 190.1 kB / 0.6886 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.1191, allocations: 188.1 kB / 0.6887 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.1191, allocations: 105 kB / 0.6888 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1192, allocations: 180.2 kB / 0.689 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1192, allocations: 105 kB / 0.6891 GB, free: 6.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.1192, allocations: 83.27 kB / 0.6892 GB, free: 6.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1192, allocations: 0 / 0.6892 GB, free: 6.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1195, allocations: 4 kB / 0.6892 GB, free: 6.77 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.0003693/0.1199, allocations: 0.8204 MB / 0.69 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.15e-05/0.1199, allocations: 11.92 kB / 0.69 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1199, allocations: 0 / 0.69 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1199, allocations: 0 / 0.69 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1202, allocations: 455.7 kB / 0.6904 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/0.121, allocations: 1.567 MB / 0.692 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.1212, allocations: 0.673 MB / 0.6926 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.024e-05/0.1212, allocations: 4 kB / 0.6926 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.1212, allocations: 9.547 kB / 0.6926 GB, free: 3.105 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1212, allocations: 0 / 0.6926 GB, free: 3.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.657/3.778, allocations: 1.097 MB / 0.6937 GB, free: 2.219 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003627/3.778, allocations: 265.4 kB / 0.694 GB, free: 1.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/6.252, allocations: 5.406 kB / 0.694 GB, free: 1.895 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)