Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.422/1.422, allocations: 288.4 MB / 303.6 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009217/0.0009217, allocations: 186.8 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.102/1.102, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006847/0.0006847, allocations: 86.38 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 12.75 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.000924/0.1412, allocations: 0.9551 MB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.1419, allocations: 0.6956 MB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.1419, allocations: 4 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1419, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1421, allocations: 19.91 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.858e-05/0.1422, allocations: 4 kB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.564e-05/0.1422, allocations: 11.98 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.1423, allocations: 0 / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.1423, allocations: 4 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1424, allocations: 11.92 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.383e-06/0.1424, allocations: 0 / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.508e-05/0.1425, allocations: 15.98 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.1425, allocations: 7.984 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1425, allocations: 29.7 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.848e-05/0.1426, allocations: 7.984 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1426, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1426, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.1426, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB 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.000198/0.1428, allocations: 325 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1429, allocations: 12.03 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.1429, allocations: 110 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1429, allocations: 84.12 kB / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.527e-05/0.143, allocations: 239.7 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.143, allocations: 150.9 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1431, allocations: 158.9 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.1e-05/0.1431, allocations: 101.5 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1431, allocations: 79.22 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1431, allocations: 158.6 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1432, allocations: 154.6 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.1432, allocations: 154.5 kB / 0.9836 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.1433, allocations: 442 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/0.1434, allocations: 177.1 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.1434, allocations: 80.14 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1434, allocations: 75.28 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.1434, allocations: 109.8 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1435, allocations: 0 / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.292e-05/0.1435, allocations: 34.52 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.1435, allocations: 130.7 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.793e-05/0.1436, allocations: 101.8 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.1436, allocations: 25.7 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.1436, allocations: 80.14 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.1436, allocations: 0 / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1436, allocations: 7.938 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.338e-05/0.1437, allocations: 314.8 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-06/0.1437, allocations: 0 / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.1437, allocations: 0 / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.011e-05/0.1437, allocations: 79.31 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1437, allocations: 75.28 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.177e-05/0.1438, allocations: 33.64 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1438, allocations: 83.22 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1438, allocations: 83.27 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.1438, allocations: 158.5 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-06/0.1439, allocations: 75.28 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.1439, allocations: 154.6 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.144, allocations: 87.3 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.144, allocations: 79.28 kB / 0.9859 GB, free: 21.08 MB / 0.6198 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.144, allocations: 264.4 kB / 0.9862 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1441, allocations: 116.9 kB / 0.9863 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/0.1441, allocations: 108.1 kB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.1441, allocations: 176.3 kB / 0.9866 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.1442, allocations: 188.2 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.1442, allocations: 180.2 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.1443, allocations: 397.2 kB / 0.9873 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.1443, allocations: 109 kB / 0.9874 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.1443, allocations: 108.9 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-05/0.1443, allocations: 184.2 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1444, allocations: 176.3 kB / 0.9879 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/0.1444, allocations: 184.2 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.795e-05/0.1444, allocations: 176.3 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.858e-05/0.1445, allocations: 315.8 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.1445, allocations: 178.1 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1445, allocations: 196.1 kB / 0.9889 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.1446, allocations: 101 kB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.1446, allocations: 188.2 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1446, allocations: 101 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.294e-05/0.1447, allocations: 79.47 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002318/0.1449, allocations: 7.984 kB / 0.9893 GB, free: 17.4 MB / 0.6198 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002729/0.1452, allocations: 0.8321 MB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 2.863e-05/0.1452, allocations: 0 / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1452, allocations: 0 / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.1452, allocations: 7.938 kB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.1455, allocations: 0.5254 MB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.1459, allocations: 0.5229 MB / 0.9912 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.263e-05/0.146, allocations: 0.6692 MB / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.047e-05/0.146, allocations: 4 kB / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.146, allocations: 15.48 kB / 0.9918 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.146, allocations: 0 / 0.9918 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1873/0.3333, allocations: 0.9853 MB / 0.9928 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.3335, allocations: 244.4 kB / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.983, allocations: 4 kB / 0.993 GB, free: 13.72 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)