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.00424/0.00424, allocations: 102.3 kB / 15.74 MB, free: 6.043 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.001147/0.001147, allocations: 192 kB / 16.67 MB, free: 5.969 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.191/1.191, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 282.4 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8502/0.8502, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 99.86 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001789/0.1305, allocations: 1.235 MB / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000808/0.1313, allocations: 0.7243 MB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1314, allocations: 0 / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.1314, allocations: 0 / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1316, allocations: 15.92 kB / 0.7678 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.999e-05/0.1316, allocations: 8 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.1317, allocations: 15.91 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.1317, allocations: 4 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.1318, allocations: 4 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1319, allocations: 7.938 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1319, allocations: 0 / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.1319, allocations: 7.984 kB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.132, allocations: 7.984 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.132, allocations: 11.88 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.606e-05/0.1321, allocations: 12.22 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1321, allocations: 0 / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1321, allocations: 0 / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1321, allocations: 0 / 0.7679 GB, free: 6.844 MB / 0.5606 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.0002508/0.1323, allocations: 327.5 kB / 0.7682 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.1324, allocations: 12.03 kB / 0.7682 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1324, allocations: 110 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.1325, allocations: 76.22 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1326, allocations: 247.6 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.1326, allocations: 150.9 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.1327, allocations: 158.9 kB / 0.769 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.147e-05/0.1327, allocations: 101.5 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1328, allocations: 79.22 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.1328, allocations: 150.6 kB / 0.7693 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.1328, allocations: 158.6 kB / 0.7694 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.1329, allocations: 150.6 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.1331, allocations: 449.9 kB / 0.77 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.1332, allocations: 177.1 kB / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.1332, allocations: 80.14 kB / 0.7702 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1332, allocations: 75.28 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1333, allocations: 109.8 kB / 0.7704 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1333, allocations: 0 / 0.7704 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 5.852e-05/0.1333, allocations: 34.14 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1334, allocations: 134.6 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.1335, allocations: 105.8 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1335, allocations: 25.7 kB / 0.7707 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1335, allocations: 80.14 kB / 0.7708 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.1335, allocations: 4 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.1335, allocations: 13.72 kB / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.1336, allocations: 318.8 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-06/0.1336, allocations: 0 / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.1336, allocations: 4 kB / 0.7711 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.1337, allocations: 75.28 kB / 0.7712 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.1337, allocations: 75.28 kB / 0.7712 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.643e-05/0.1337, allocations: 25.7 kB / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.1338, allocations: 91.25 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.1338, allocations: 79.22 kB / 0.7714 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.801e-05/0.1339, allocations: 150.7 kB / 0.7716 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/0.1339, allocations: 87.22 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/0.1339, allocations: 154.6 kB / 0.7718 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.134, allocations: 79.28 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1341, allocations: 87.16 kB / 0.772 GB, free: 2.445 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.1341, allocations: 261.1 kB / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.1342, allocations: 108.9 kB / 0.7723 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.1342, allocations: 112 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.477e-05/0.1343, allocations: 180.3 kB / 0.7726 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-05/0.1343, allocations: 180.3 kB / 0.7728 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/0.1344, allocations: 184.2 kB / 0.7729 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1346, allocations: 401.2 kB / 0.7733 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.1346, allocations: 104.9 kB / 0.7734 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.1346, allocations: 105 kB / 0.7735 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.825e-05/0.1347, allocations: 192.1 kB / 0.7737 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.1347, allocations: 180.3 kB / 0.7739 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.433e-05/0.1348, allocations: 180.3 kB / 0.7741 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2456/0.3804, allocations: 180.2 kB / 0.7742 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.045e-05/0.3805, allocations: 306.2 kB / 0.7745 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.3806, allocations: 182.4 kB / 0.7747 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3806, allocations: 181.2 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.3807, allocations: 106.9 kB / 0.775 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3807, allocations: 185.5 kB / 0.7751 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3807, allocations: 104.1 kB / 0.7752 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.3808, allocations: 88.48 kB / 0.7753 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3808, allocations: 1.25 kB / 0.7753 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002709/0.3811, allocations: 1.781 kB / 0.7753 GB, free: 14.36 MB / 0.5606 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 (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.0003406/0.3814, allocations: 0.8205 MB / 0.7761 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.154e-05/0.3815, allocations: 2.75 kB / 0.7761 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3815, allocations: 0 / 0.7761 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.3815, allocations: 3.625 kB / 0.7761 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3817, allocations: 463.9 kB / 0.7766 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.3824, allocations: 1.553 MB / 0.7781 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.386e-05/0.3825, allocations: 0.6727 MB / 0.7788 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.575e-05/0.3825, allocations: 1.969 kB / 0.7788 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.3825, allocations: 10.48 kB / 0.7788 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.3826, allocations: 1.219 kB / 0.7788 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.3988, allocations: 1.231 MB / 0.78 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.475/6.874, allocations: 14.27 kB / 0.78 GB, free: 10.58 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)