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.00645/0.006449, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001279/0.001279, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002184/0.002184, allocations: 282.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 87.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1613, allocations: 86.99 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002312/0.1637, allocations: 1.237 MB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1648, allocations: 0.7193 MB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.1649, allocations: 0 / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1649, allocations: 0 / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1652, allocations: 15.94 kB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.96e-05/0.1652, allocations: 11.92 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.1653, allocations: 11.98 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.1654, allocations: 0 / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.1654, allocations: 7.938 kB / 0.7679 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1655, allocations: 0 / 0.7679 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1655, allocations: 4 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.1656, allocations: 11.97 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.1657, allocations: 4 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.1657, allocations: 7.938 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.832e-05/0.1658, allocations: 11.92 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1658, allocations: 0 / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1658, allocations: 4 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1658, allocations: 0 / 0.7679 GB, free: 6.863 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.0003132/0.1661, allocations: 327.5 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1662, allocations: 8.031 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1662, allocations: 110 kB / 0.7683 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.1663, allocations: 80.22 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1665, allocations: 239.6 kB / 0.7686 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.1665, allocations: 158.9 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.1666, allocations: 154.9 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.785e-05/0.1667, allocations: 105.5 kB / 0.769 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.1667, allocations: 79.22 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1668, allocations: 154.6 kB / 0.7693 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.1668, allocations: 150.6 kB / 0.7694 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.1668, allocations: 154.6 kB / 0.7696 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.1671, allocations: 457.9 kB / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.1672, allocations: 165.1 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.1672, allocations: 80.14 kB / 0.7702 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1673, allocations: 83.27 kB / 0.7703 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1673, allocations: 109.8 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1673, allocations: 0 / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.712e-05/0.1674, allocations: 34.09 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1675, allocations: 130.6 kB / 0.7706 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.1676, allocations: 105.8 kB / 0.7707 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1676, allocations: 29.7 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.1676, allocations: 84.14 kB / 0.7708 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.1676, allocations: 0 / 0.7708 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.1677, allocations: 9.719 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.1678, allocations: 318.8 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.1678, allocations: 0 / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.1678, allocations: 0 / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.1678, allocations: 75.28 kB / 0.7712 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.1678, allocations: 75.28 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.781e-05/0.1679, allocations: 37.67 kB / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.168, allocations: 87.2 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.168, allocations: 79.28 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.185e-05/0.168, allocations: 150.7 kB / 0.7716 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.337e-05/0.1681, allocations: 83.23 kB / 0.7716 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.29e-05/0.1681, allocations: 154.6 kB / 0.7718 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1683, allocations: 87.22 kB / 0.7719 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1683, allocations: 75.28 kB / 0.772 GB, free: 2.469 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 0.0001034/0.1684, allocations: 261 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.1685, allocations: 108.9 kB / 0.7723 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.1685, allocations: 108 kB / 0.7724 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/0.1686, allocations: 184.3 kB / 0.7726 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.524e-05/0.1686, allocations: 184.2 kB / 0.7728 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/0.1687, allocations: 184.3 kB / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1689, allocations: 401.1 kB / 0.7733 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.1689, allocations: 109 kB / 0.7734 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.169, allocations: 105 kB / 0.7735 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-05/0.169, allocations: 188.1 kB / 0.7737 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.1691, allocations: 176.3 kB / 0.7739 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.553e-05/0.1692, allocations: 184.2 kB / 0.774 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.055e-05/0.1692, allocations: 176.3 kB / 0.7742 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3301/0.4994, allocations: 305.2 kB / 0.7745 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.4995, allocations: 184.8 kB / 0.7747 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.4995, allocations: 182.9 kB / 0.7749 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.4996, allocations: 105.6 kB / 0.775 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.4996, allocations: 181.3 kB / 0.7751 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4996, allocations: 104.8 kB / 0.7752 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.4997, allocations: 87.7 kB / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4997, allocations: 0 / 0.7753 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003329/0.5, allocations: 3.406 kB / 0.7753 GB, free: 14.45 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.0004187/0.5005, allocations: 0.8205 MB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.435e-05/0.5005, allocations: 4.719 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5005, allocations: 4.188 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.5005, allocations: 5.016 kB / 0.7761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.5008, allocations: 459.8 kB / 0.7766 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.5017, allocations: 1.553 MB / 0.7781 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.5018, allocations: 0.6754 MB / 0.7787 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.5018, allocations: 1.297 kB / 0.7787 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.5018, allocations: 14.5 kB / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5018, allocations: 0 / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.5196, allocations: 1.226 MB / 0.78 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.689, allocations: 8.625 kB / 0.78 GB, free: 10.67 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 & /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)