Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001423/0.001423, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001562/0.001562, allocations: 212 kB / 19.43 MB, free: 3.637 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.339/1.339, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.002333/0.002333, allocations: 292.8 kB / 309.1 MB, free: 3.984 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.133/1.133, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.002622/0.002622, allocations: 103.6 kB / 0.7343 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1441, allocations: 95.34 MB / 0.8274 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002569/0.1467, allocations: 1.508 MB / 0.8288 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008288/0.1475, allocations: 0.5043 MB / 0.8293 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.1475, allocations: 0 / 0.8293 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.1476, allocations: 7.922 kB / 0.8293 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1478, allocations: 27.84 kB / 0.8294 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.809e-05/0.1478, allocations: 19.92 kB / 0.8294 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.1479, allocations: 55.78 kB / 0.8294 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.148, allocations: 7.938 kB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1481, allocations: 31.92 kB / 0.8295 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.1482, allocations: 23.84 kB / 0.8295 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1482, allocations: 7.984 kB / 0.8295 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.1482, allocations: 4 kB / 0.8295 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.1482, allocations: 8 kB / 0.8295 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.1483, allocations: 15.92 kB / 0.8295 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.095e-05/0.1484, allocations: 39.83 kB / 0.8296 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1484, allocations: 0 / 0.8296 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1484, allocations: 0 / 0.8296 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1484, allocations: 8 kB / 0.8296 GB, free: 7.605 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005022/0.1489, allocations: 359.2 kB / 0.8299 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1489, allocations: 8.031 kB / 0.8299 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.1489, allocations: 34.75 kB / 0.83 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.149, allocations: 8.828 kB / 0.83 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1491, allocations: 176.4 kB / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1491, allocations: 4.375 kB / 0.8301 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1491, allocations: 384 / 0.8301 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1492, allocations: 57.81 kB / 0.8302 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1492, allocations: 0 / 0.8302 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1492, allocations: 0 / 0.8302 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1492, allocations: 0 / 0.8302 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.011e-05/0.1493, allocations: 23.92 kB / 0.8302 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.1496, allocations: 272.8 kB / 0.8305 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.1497, allocations: 42.56 kB / 0.8305 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.1498, allocations: 24.86 kB / 0.8305 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1498, allocations: 96 / 0.8305 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.1499, allocations: 67.31 kB / 0.8306 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1499, allocations: 0 / 0.8306 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0002049/0.1501, allocations: 85.88 kB / 0.8307 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1502, allocations: 51.41 kB / 0.8307 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.1503, allocations: 109.8 kB / 0.8308 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1503, allocations: 29.7 kB / 0.8309 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.1503, allocations: 92.08 kB / 0.831 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1504, allocations: 15.91 kB / 0.831 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1504, allocations: 13.72 kB / 0.831 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1505, allocations: 322.8 kB / 0.8313 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.1505, allocations: 15.94 kB / 0.8313 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.1506, allocations: 15.94 kB / 0.8313 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.1506, allocations: 32.84 kB / 0.8313 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1506, allocations: 4 kB / 0.8314 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001005/0.1507, allocations: 57.69 kB / 0.8314 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1508, allocations: 9.406 kB / 0.8314 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1508, allocations: 0 / 0.8314 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1508, allocations: 0 / 0.8314 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.1508, allocations: 12 kB / 0.8314 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1508, allocations: 3.938 kB / 0.8314 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.1509, allocations: 0 / 0.8314 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1509, allocations: 7.984 kB / 0.8314 GB, free: 5.453 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.186e-05/0.151, allocations: 120.6 kB / 0.8316 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.151, allocations: 7.953 kB / 0.8316 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.151, allocations: 3.969 kB / 0.8316 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.151, allocations: 3.984 kB / 0.8316 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.151, allocations: 4 kB / 0.8316 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.151, allocations: 0 / 0.8316 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.1512, allocations: 181.5 kB / 0.8317 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1512, allocations: 0 / 0.8317 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.1512, allocations: 4 kB / 0.8318 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1512, allocations: 0 / 0.8318 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1512, allocations: 4.25 kB / 0.8318 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1512, allocations: 8 kB / 0.8318 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1512, allocations: 4 kB / 0.8318 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.1514, allocations: 100.9 kB / 0.8319 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1514, allocations: 81.05 kB / 0.8319 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1514, allocations: 8 kB / 0.8319 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.1515, allocations: 3.984 kB / 0.832 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1515, allocations: 4 kB / 0.832 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.1515, allocations: 4 kB / 0.832 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.1516, allocations: 91.27 kB / 0.832 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1516, allocations: 0 / 0.832 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001758/0.1518, allocations: 8 kB / 0.8321 GB, free: 4.727 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004289/0.1522, allocations: 0.6397 MB / 0.8327 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1523, allocations: 35.92 kB / 0.8327 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1523, allocations: 3.938 kB / 0.8327 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.1523, allocations: 16 kB / 0.8327 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1525, allocations: 6.625 kB / 0.8327 GB, free: 4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1536, allocations: 1.223 MB / 0.8339 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1538, allocations: 0.6807 MB / 0.8346 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.1539, allocations: 0 / 0.8346 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1539, allocations: 19.42 kB / 0.8346 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1539, allocations: 0 / 0.8346 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1768, allocations: 1.551 MB / 0.8361 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.254, allocations: 9.312 kB / 0.8361 GB, free: 0.6094 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.055936704855412] Failed to read output from testmodel.py, exit status != 0: 7.316727958619595 7.3302507630000004 7.179298711 Calling exit ...