Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.001641/0.001641, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00147/0.00147, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002456/0.002456, allocations: 292.2 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",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.002787/0.002787, allocations: 105.8 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1675, allocations: 95.38 MB / 0.8326 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005345/0.1728, allocations: 3.512 MB / 0.836 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005451/0.1783, allocations: 3.475 MB / 0.8394 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.1786, allocations: 15.88 kB / 0.8395 GB, free: 1.379 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.0004934/0.1791, allocations: 122.9 kB / 0.8396 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1805, allocations: 0.4973 MB / 0.8401 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.1813, allocations: 371.5 kB / 0.8404 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008974/0.1822, allocations: 0.7564 MB / 0.8411 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.1824, allocations: 130.4 kB / 0.8413 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.1829, allocations: 326.8 kB / 0.8416 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.1833, allocations: 298.6 kB / 0.8419 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.1834, allocations: 64 kB / 0.8419 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009421/0.1844, allocations: 0.5424 MB / 0.8425 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.1846, allocations: 183.3 kB / 0.8426 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.1848, allocations: 254.7 kB / 0.8429 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.1863, allocations: 1.171 MB / 0.844 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1863, allocations: 0 / 0.844 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1863, allocations: 0 / 0.844 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1863, allocations: 0 / 0.844 GB, free: 12.68 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001867/0.1882, allocations: 0.969 MB / 0.845 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1882, allocations: 13.94 kB / 0.845 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.1883, allocations: 90.7 kB / 0.8451 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/0.192, allocations: 0.6404 MB / 0.8457 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.1934, allocations: 0.5699 MB / 0.8462 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.1936, allocations: 211.5 kB / 0.8465 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.1937, allocations: 44 kB / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.1952, allocations: 0.7662 MB / 0.8472 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1953, allocations: 0 / 0.8472 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.1953, allocations: 20 kB / 0.8473 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1953, allocations: 12 kB / 0.8473 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.1973, allocations: 0.7533 MB / 0.848 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.2008, allocations: 1.641 MB / 0.8496 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.2036, allocations: 0.803 MB / 0.8504 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000917/0.2046, allocations: 333.9 kB / 0.8507 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.2056, allocations: 192.2 kB / 0.8509 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.2067, allocations: 429.1 kB / 0.8513 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.2067, allocations: 0 / 0.8513 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.00289/0.2096, allocations: 1.014 MB / 0.8523 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.2097, allocations: 115.2 kB / 0.8524 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.2102, allocations: 458.3 kB / 0.8528 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.2102, allocations: 33.7 kB / 0.8529 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.2105, allocations: 285.1 kB / 0.8531 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.2106, allocations: 186.4 kB / 0.8533 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.2109, allocations: 122.2 kB / 0.8534 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.211, allocations: 362.8 kB / 0.8538 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008981/0.2119, allocations: 309 kB / 0.8541 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.213, allocations: 496.8 kB / 0.8546 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.2148, allocations: 0.7013 MB / 0.8552 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2148, allocations: 0 / 0.8552 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002131/0.2169, allocations: 0.8133 MB / 0.856 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.217, allocations: 11.94 kB / 0.856 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.217, allocations: 4 kB / 0.856 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.217, allocations: 4 kB / 0.8561 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.2179, allocations: 179.9 kB / 0.8562 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.2179, allocations: 19.86 kB / 0.8562 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.2185, allocations: 95.56 kB / 0.8563 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.2186, allocations: 27.97 kB / 0.8564 GB, free: 15.64 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0002922/0.2189, allocations: 213.6 kB / 0.8566 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.219, allocations: 55.67 kB / 0.8566 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.2213, allocations: 0.8972 MB / 0.8575 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.2213, allocations: 4 kB / 0.8575 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2213, allocations: 3.938 kB / 0.8575 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2214, allocations: 7.984 kB / 0.8575 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.2244, allocations: 1.464 MB / 0.8589 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2244, allocations: 0 / 0.8589 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/0.2251, allocations: 147.8 kB / 0.8591 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.2251, allocations: 3.938 kB / 0.8591 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.2252, allocations: 23.98 kB / 0.8591 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.2252, allocations: 0 / 0.8591 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2252, allocations: 3.938 kB / 0.8591 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.2272, allocations: 0.8624 MB / 0.86 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.2275, allocations: 143.3 kB / 0.8601 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2276, allocations: 20 kB / 0.8601 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.2282, allocations: 62.45 kB / 0.8602 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.2283, allocations: 40.58 kB / 0.8602 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.2284, allocations: 23.97 kB / 0.8602 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003869/0.2288, allocations: 311.1 kB / 0.8605 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2288, allocations: 0 / 0.8605 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007756/0.2296, allocations: 251.4 kB / 0.8608 GB, free: 11.05 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 (66): * Single equations (assignments): 65 * 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.004331/0.2339, allocations: 1.901 MB / 0.8626 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.2359, allocations: 0.7037 MB / 0.8633 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2359, allocations: 0 / 0.8633 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.2368, allocations: 368 kB / 0.8637 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.2374, allocations: 70.88 kB / 0.8637 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.2477, allocations: 5.418 MB / 0.869 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.248, allocations: 282.2 kB / 0.8693 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000614/0.2486, allocations: 148.5 kB / 0.8694 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.249, allocations: 231.3 kB / 0.8696 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.249, allocations: 3.938 kB / 0.8697 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.3001, allocations: 15.77 MB / 0.8851 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.65, allocations: 12.05 kB / 0.8851 GB, free: 2.262 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple_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_Technologies_Photovoltaics_Examples_PVModuleSimple.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.993827754165977] Failed to read output from testmodel.py, exit status != 0: 11.840741957072169 11.856964654 11.667507727 Calling exit ...