Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.001415/0.001415, allocations: 104.4 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.001451/0.001451, 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.286/1.286, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.002344/0.002344, allocations: 285.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.097/1.097, 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.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",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.002635/0.002635, allocations: 95.91 kB / 0.7342 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1433, allocations: 95.35 MB / 0.8273 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004208/0.1475, allocations: 3.112 MB / 0.8304 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1521, allocations: 3.427 MB / 0.8337 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1522, allocations: 11.88 kB / 0.8337 GB, free: 3.305 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1525, allocations: 71.3 kB / 0.8338 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.1535, allocations: 485.6 kB / 0.8342 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.1542, allocations: 390.2 kB / 0.8346 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.1548, allocations: 0.7181 MB / 0.8353 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.155, allocations: 82.55 kB / 0.8354 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.1554, allocations: 303 kB / 0.8357 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.1558, allocations: 337.2 kB / 0.836 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.53e-05/0.1559, allocations: 64 kB / 0.8361 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.1567, allocations: 0.5619 MB / 0.8366 GB, free: 328 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1569, allocations: 179.4 kB / 0.8368 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.1572, allocations: 294.5 kB / 0.8371 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1583, allocations: 1.047 MB / 0.8381 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1583, allocations: 0 / 0.8381 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1583, allocations: 0 / 0.8381 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.1583, allocations: 0 / 0.8381 GB, free: 14.8 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001945/0.1603, allocations: 0.9721 MB / 0.839 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1603, allocations: 12.03 kB / 0.8391 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.1604, allocations: 90.7 kB / 0.8391 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.1637, allocations: 0.5702 MB / 0.8397 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.165, allocations: 0.5741 MB / 0.8403 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.1651, allocations: 207.5 kB / 0.8405 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.1652, allocations: 40 kB / 0.8405 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1667, allocations: 0.6831 MB / 0.8412 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1667, allocations: 0 / 0.8412 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.1667, allocations: 16 kB / 0.8412 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1668, allocations: 12 kB / 0.8412 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.1686, allocations: 0.7766 MB / 0.8419 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.1719, allocations: 1.716 MB / 0.8436 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.1749, allocations: 0.9737 MB / 0.8446 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.1757, allocations: 341.3 kB / 0.8449 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/0.1776, allocations: 1.769 MB / 0.8466 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000997/0.1786, allocations: 454.8 kB / 0.8471 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 1.984e-06/0.1786, allocations: 4 kB / 0.8471 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002804/0.1814, allocations: 1.066 MB / 0.8481 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.1815, allocations: 119.3 kB / 0.8482 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.1819, allocations: 369.7 kB / 0.8486 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.1819, allocations: 41.7 kB / 0.8486 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.1821, allocations: 221.4 kB / 0.8488 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.1823, allocations: 230 kB / 0.849 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.1826, allocations: 154.5 kB / 0.8492 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1827, allocations: 350.8 kB / 0.8495 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/0.1835, allocations: 317.8 kB / 0.8498 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/0.1845, allocations: 441.5 kB / 0.8502 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.1862, allocations: 0.7244 MB / 0.851 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1862, allocations: 0 / 0.851 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002113/0.1883, allocations: 0.86 MB / 0.8518 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1883, allocations: 8 kB / 0.8518 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1883, allocations: 0 / 0.8518 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1884, allocations: 8 kB / 0.8518 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009595/0.1893, allocations: 191.9 kB / 0.852 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1893, allocations: 11.92 kB / 0.852 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.19, allocations: 99.45 kB / 0.8521 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.1901, allocations: 35.97 kB / 0.8521 GB, free: 15.64 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002641/0.1903, allocations: 201.6 kB / 0.8523 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1904, allocations: 51.67 kB / 0.8524 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.1932, allocations: 1.12 MB / 0.8535 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.1932, allocations: 15.94 kB / 0.8535 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1932, allocations: 3.938 kB / 0.8535 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.1932, allocations: 3.984 kB / 0.8535 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.1963, allocations: 1.774 MB / 0.8552 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1964, allocations: 0 / 0.8552 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/0.1973, allocations: 195.7 kB / 0.8554 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1973, allocations: 7.938 kB / 0.8554 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.1973, allocations: 23.98 kB / 0.8554 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.1974, allocations: 7.984 kB / 0.8554 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1974, allocations: 0 / 0.8554 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.1995, allocations: 1.013 MB / 0.8564 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.1998, allocations: 220.4 kB / 0.8566 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.695e-05/0.1999, allocations: 23.98 kB / 0.8567 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.2005, allocations: 55.94 kB / 0.8567 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.2006, allocations: 60.91 kB / 0.8568 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-05/0.2007, allocations: 27.98 kB / 0.8568 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002975/0.201, allocations: 263.2 kB / 0.8571 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.201, allocations: 0 / 0.8571 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007264/0.2017, allocations: 255.4 kB / 0.8573 GB, free: 10.24 MB / 0.6075 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,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * 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.004033/0.2057, allocations: 2.021 MB / 0.8593 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.2077, allocations: 0.7799 MB / 0.86 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2077, allocations: 0 / 0.86 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009764/0.2086, allocations: 445.7 kB / 0.8605 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.2091, allocations: 69.05 kB / 0.8605 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.2179, allocations: 5.192 MB / 0.8656 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.2183, allocations: 0.8701 MB / 0.8664 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006288/0.219, allocations: 176.6 kB / 0.8666 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.2194, allocations: 219.3 kB / 0.8668 GB, free: 472 kB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.2194, allocations: 4 kB / 0.8668 GB, free: 468 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.2599, allocations: 15.25 MB / 0.8817 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.574, allocations: 7.5 kB / 0.8817 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.447642395272851] Failed to read output from testmodel.py, exit status != 0: 8.721995471045375 8.734835042 8.574040909 Calling exit ...