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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 112.5 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.312/1.312, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 289.1 kB / 309.1 MB, free: 4.066 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 180.9 MB / 0.5333 GB, free: 13.93 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 101 kB / 0.7343 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1494, allocations: 95.35 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002177/0.1516, allocations: 1.251 MB / 0.8286 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1526, allocations: 0.7336 MB / 0.8293 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.1526, allocations: 0 / 0.8293 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1527, allocations: 0 / 0.8293 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1528, allocations: 19.91 kB / 0.8293 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.424e-05/0.1529, allocations: 15.94 kB / 0.8293 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.153, allocations: 7.938 kB / 0.8293 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.153, allocations: 3.984 kB / 0.8293 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.153, allocations: 7.984 kB / 0.8294 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1531, allocations: 4 kB / 0.8294 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1532, allocations: 0 / 0.8294 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.562e-05/0.1532, allocations: 4 kB / 0.8294 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.1532, allocations: 11.97 kB / 0.8294 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.1533, allocations: 3.938 kB / 0.8294 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.883e-05/0.1533, allocations: 16.22 kB / 0.8294 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1533, allocations: 0 / 0.8294 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1533, allocations: 4 kB / 0.8294 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1533, allocations: 0 / 0.8294 GB, free: 7.781 MB / 0.5762 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.0003595/0.1537, allocations: 320.5 kB / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1537, allocations: 12.62 kB / 0.8297 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.1538, allocations: 106 kB / 0.8298 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.1539, allocations: 76.22 kB / 0.8299 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.154, allocations: 247.7 kB / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.1541, allocations: 154.9 kB / 0.8303 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.1542, allocations: 150.9 kB / 0.8304 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.496e-05/0.1542, allocations: 101.5 kB / 0.8305 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.1543, allocations: 79.22 kB / 0.8306 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.1543, allocations: 154.6 kB / 0.8307 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.1544, allocations: 158.5 kB / 0.8309 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.1544, allocations: 150.6 kB / 0.831 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.1547, allocations: 449.9 kB / 0.8315 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.1548, allocations: 169.1 kB / 0.8316 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.1549, allocations: 88.08 kB / 0.8317 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1549, allocations: 79.28 kB / 0.8318 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.1549, allocations: 109.8 kB / 0.8319 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1549, allocations: 0 / 0.8319 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.354e-05/0.155, allocations: 37.58 kB / 0.8319 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.1551, allocations: 126.7 kB / 0.832 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1552, allocations: 109.8 kB / 0.8321 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1552, allocations: 25.7 kB / 0.8322 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.1552, allocations: 80.14 kB / 0.8322 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.1552, allocations: 0 / 0.8322 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.1553, allocations: 17.7 kB / 0.8323 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1554, allocations: 310.8 kB / 0.8326 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.1554, allocations: 0 / 0.8326 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.1554, allocations: 0 / 0.8326 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.1554, allocations: 87.25 kB / 0.8326 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.1555, allocations: 79.22 kB / 0.8327 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.081e-05/0.1555, allocations: 29.7 kB / 0.8327 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.1556, allocations: 87.22 kB / 0.8328 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/0.1556, allocations: 75.28 kB / 0.8329 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-05/0.1557, allocations: 162.5 kB / 0.8331 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.802e-05/0.1557, allocations: 75.28 kB / 0.8331 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.235e-05/0.1558, allocations: 158.5 kB / 0.8333 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1559, allocations: 79.28 kB / 0.8334 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.1559, allocations: 79.28 kB / 0.8334 GB, free: 3.395 MB / 0.5762 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.00012/0.156, allocations: 260.4 kB / 0.8337 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.1561, allocations: 113 kB / 0.8338 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1561, allocations: 111.9 kB / 0.8339 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-05/0.1562, allocations: 188.2 kB / 0.8341 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-05/0.1563, allocations: 176.3 kB / 0.8342 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-05/0.1564, allocations: 180.3 kB / 0.8344 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.1566, allocations: 405.2 kB / 0.8348 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/0.1566, allocations: 101 kB / 0.8349 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.1567, allocations: 108.9 kB / 0.835 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.1568, allocations: 188.2 kB / 0.8352 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/0.1568, allocations: 180.3 kB / 0.8354 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.009e-05/0.1569, allocations: 180.2 kB / 0.8355 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-05/0.157, allocations: 180.2 kB / 0.8357 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1571, allocations: 315.8 kB / 0.836 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.1572, allocations: 178.1 kB / 0.8362 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.1573, allocations: 188.1 kB / 0.8363 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.1574, allocations: 109 kB / 0.8364 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.1575, allocations: 184.2 kB / 0.8366 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.1575, allocations: 105 kB / 0.8367 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.1576, allocations: 79.28 kB / 0.8368 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 0 / 0.8368 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002407/0.1578, allocations: 4 kB / 0.8368 GB, free: 15.71 MB / 0.5919 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.0006061/0.1584, allocations: 0.8243 MB / 0.8376 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.1585, allocations: 4 kB / 0.8376 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1585, allocations: 0 / 0.8376 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1585, allocations: 0 / 0.8376 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1588, allocations: 459.7 kB / 0.8381 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.16, allocations: 1.571 MB / 0.8396 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1603, allocations: 0.6768 MB / 0.8402 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.1603, allocations: 0 / 0.8402 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.1603, allocations: 11.44 kB / 0.8403 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1603, allocations: 0 / 0.8403 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.1838, allocations: 1.235 MB / 0.8415 GB, free: 11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.288, allocations: 10.33 kB / 0.8415 GB, free: 11 MB / 0.5919 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.041941360104829] Failed to read output from testmodel.py, exit status != 0: 7.364897325169295 7.382026305 7.226191785 Calling exit ...