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.004753/0.004753, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001277/0.001277, allocations: 204.2 kB / 16.68 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 278.7 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 103.8 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1583, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002293/0.1606, allocations: 1.233 MB / 0.7671 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1617, allocations: 0.7193 MB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.1617, allocations: 0 / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.1618, allocations: 4 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.162, allocations: 23.84 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.924e-05/0.1621, allocations: 7.938 kB / 0.7679 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.1621, allocations: 4 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.1622, allocations: 4 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.1622, allocations: 4 kB / 0.7679 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1623, allocations: 11.98 kB / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1624, allocations: 0 / 0.7679 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.1624, allocations: 11.98 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.1625, allocations: 3.938 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.1625, allocations: 11.92 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.1626, allocations: 12.2 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1626, allocations: 0 / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1626, allocations: 0 / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1626, allocations: 0 / 0.7679 GB, free: 6.859 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.0003644/0.163, allocations: 331.5 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.163, allocations: 8.031 kB / 0.7682 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.1631, allocations: 106 kB / 0.7683 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.1631, allocations: 80.22 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1633, allocations: 239.7 kB / 0.7686 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.1634, allocations: 154.9 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.1635, allocations: 158.9 kB / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.1636, allocations: 109.5 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.1636, allocations: 83.16 kB / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.1637, allocations: 150.6 kB / 0.7693 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.1638, allocations: 150.6 kB / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.1638, allocations: 150.6 kB / 0.7696 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1642, allocations: 454 kB / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1643, allocations: 169.1 kB / 0.7702 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1643, allocations: 84.08 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.1644, allocations: 75.28 kB / 0.7703 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.1645, allocations: 109.8 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 3.136e-06/0.1645, allocations: 0 / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.999e-05/0.1645, allocations: 42.09 kB / 0.7705 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.1646, allocations: 126.7 kB / 0.7706 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1647, allocations: 97.84 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1648, allocations: 25.7 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.1648, allocations: 88.14 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1648, allocations: 3.938 kB / 0.7708 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1649, allocations: 13.72 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.165, allocations: 310.8 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-06/0.165, allocations: 3.938 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.165, allocations: 4 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.1651, allocations: 75.28 kB / 0.7712 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-05/0.1651, allocations: 75.28 kB / 0.7712 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.833e-05/0.1652, allocations: 33.69 kB / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.1652, allocations: 87.25 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/0.1653, allocations: 79.22 kB / 0.7714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.747e-05/0.1654, allocations: 158.7 kB / 0.7716 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.1654, allocations: 79.3 kB / 0.7717 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.304e-05/0.1655, allocations: 154.5 kB / 0.7718 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1656, allocations: 75.28 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.1657, allocations: 83.22 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.0001375/0.1658, allocations: 265 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1659, allocations: 112.9 kB / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.166, allocations: 104.1 kB / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.333e-05/0.166, allocations: 180.2 kB / 0.7726 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.093e-05/0.1661, allocations: 180.2 kB / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.919e-05/0.1662, allocations: 192.2 kB / 0.7729 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1665, allocations: 397.2 kB / 0.7733 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/0.1666, allocations: 105 kB / 0.7734 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.1666, allocations: 108.9 kB / 0.7735 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.414e-05/0.1667, allocations: 180.2 kB / 0.7737 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.1668, allocations: 184.2 kB / 0.7739 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-05/0.1669, allocations: 176.3 kB / 0.774 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.614e-05/0.167, allocations: 188.3 kB / 0.7742 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2663/0.4332, allocations: 301.1 kB / 0.7745 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.4333, allocations: 185.5 kB / 0.7747 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.4334, allocations: 184 kB / 0.7749 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.4334, allocations: 110.1 kB / 0.775 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.4335, allocations: 178.7 kB / 0.7751 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.4335, allocations: 108 kB / 0.7752 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.4336, allocations: 82.97 kB / 0.7753 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4336, allocations: 0.6562 kB / 0.7753 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003384/0.4339, allocations: 5.797 kB / 0.7753 GB, free: 14.46 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.0004282/0.4343, allocations: 0.8183 MB / 0.7761 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.791e-05/0.4344, allocations: 1.531 kB / 0.7761 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4344, allocations: 8.016 kB / 0.7761 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4344, allocations: 0.9062 kB / 0.7761 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4347, allocations: 463.7 kB / 0.7766 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.4354, allocations: 1.554 MB / 0.7781 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.4355, allocations: 0.6741 MB / 0.7787 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.606e-05/0.4356, allocations: 0.8125 kB / 0.7788 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.4356, allocations: 10.77 kB / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4356, allocations: 1.188 kB / 0.7788 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.4588, allocations: 1.226 MB / 0.78 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.114, allocations: 10.73 kB / 0.78 GB, free: 10.68 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)