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.001254/0.001254, allocations: 112.2 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.001415/0.001415, 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] 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.002416/0.002416, allocations: 286.7 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.215/1.215, allocations: 180.9 MB / 0.5333 GB, free: 13.86 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.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.002806/0.002806, allocations: 105.5 kB / 0.7342 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1525, allocations: 95.33 MB / 0.8273 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.00603/0.1586, allocations: 3.802 MB / 0.831 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005841/0.1644, allocations: 3.637 MB / 0.8346 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.1648, allocations: 15.88 kB / 0.8346 GB, free: 2.426 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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 2.0.0-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 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.0005026/0.1653, allocations: 121.2 kB / 0.8347 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.1668, allocations: 0.5051 MB / 0.8352 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.1677, allocations: 354.8 kB / 0.8355 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.1687, allocations: 0.7565 MB / 0.8363 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.1689, allocations: 142 kB / 0.8364 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.1694, allocations: 326.8 kB / 0.8367 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.1699, allocations: 326.6 kB / 0.837 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.17, allocations: 64 kB / 0.8371 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.171, allocations: 0.5736 MB / 0.8377 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1712, allocations: 167.5 kB / 0.8378 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.1715, allocations: 330.2 kB / 0.8381 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1729, allocations: 1.164 MB / 0.8393 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.173, allocations: 3.984 kB / 0.8393 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.173, allocations: 0 / 0.8393 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.173, allocations: 0 / 0.8393 GB, free: 13.62 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.002064/0.175, allocations: 1.045 MB / 0.8403 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1751, allocations: 8.031 kB / 0.8403 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.1752, allocations: 102.6 kB / 0.8404 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/0.1791, allocations: 0.6443 MB / 0.841 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.1807, allocations: 0.6355 MB / 0.8417 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.1809, allocations: 118.4 kB / 0.8418 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.1809, allocations: 48 kB / 0.8418 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.1827, allocations: 0.687 MB / 0.8425 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1827, allocations: 3.984 kB / 0.8425 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.1827, allocations: 27.94 kB / 0.8425 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1828, allocations: 12 kB / 0.8425 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.185, allocations: 0.7572 MB / 0.8433 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.1887, allocations: 1.813 MB / 0.845 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.1918, allocations: 0.8056 MB / 0.8458 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.1928, allocations: 329.9 kB / 0.8461 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.1949, allocations: 1.761 MB / 0.8479 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.196, allocations: 437 kB / 0.8483 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.265e-06/0.196, allocations: 0 / 0.8483 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003293/0.1993, allocations: 1.002 MB / 0.8493 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.1994, allocations: 119.2 kB / 0.8494 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.2, allocations: 443.1 kB / 0.8498 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.2001, allocations: 41.69 kB / 0.8498 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.2003, allocations: 285.1 kB / 0.8501 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2005, allocations: 186.4 kB / 0.8503 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.2007, allocations: 122.1 kB / 0.8504 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002978/0.201, allocations: 362.8 kB / 0.8507 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.202, allocations: 300.9 kB / 0.851 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.2032, allocations: 444.5 kB / 0.8515 GB, free: 436 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.2052, allocations: 0.7023 MB / 0.8521 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2052, allocations: 0 / 0.8521 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002378/0.2076, allocations: 0.8226 MB / 0.8529 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2076, allocations: 4 kB / 0.8529 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2076, allocations: 4 kB / 0.8529 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2076, allocations: 8 kB / 0.853 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.2086, allocations: 175.9 kB / 0.8531 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.2086, allocations: 15.88 kB / 0.8531 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.2093, allocations: 103.5 kB / 0.8532 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/0.2094, allocations: 31.97 kB / 0.8533 GB, free: 14.51 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.0003214/0.2097, allocations: 206.2 kB / 0.8535 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2099, allocations: 55.62 kB / 0.8535 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.2125, allocations: 0.8911 MB / 0.8544 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2125, allocations: 11.94 kB / 0.8544 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2125, allocations: 3.938 kB / 0.8544 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.2125, allocations: 3.984 kB / 0.8544 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.2158, allocations: 1.583 MB / 0.856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2158, allocations: 0 / 0.856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.2167, allocations: 147.8 kB / 0.8561 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.2167, allocations: 15.88 kB / 0.8561 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.2168, allocations: 19.98 kB / 0.8561 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2168, allocations: 4 kB / 0.8561 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2168, allocations: 0 / 0.8561 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.2192, allocations: 0.8638 MB / 0.857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.2195, allocations: 220.4 kB / 0.8572 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2196, allocations: 12 kB / 0.8572 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.2203, allocations: 51.94 kB / 0.8572 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2205, allocations: 44.5 kB / 0.8573 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.2205, allocations: 27.91 kB / 0.8573 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004222/0.2209, allocations: 311.1 kB / 0.8576 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2209, allocations: 0 / 0.8576 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009081/0.2218, allocations: 247.4 kB / 0.8578 GB, free: 9.715 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.004691/0.2265, allocations: 1.869 MB / 0.8597 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.2291, allocations: 0.7027 MB / 0.8604 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.2291, allocations: 0 / 0.8604 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.2303, allocations: 367.4 kB / 0.8607 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.231, allocations: 58.61 kB / 0.8608 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.2446, allocations: 5.417 MB / 0.8661 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.2452, allocations: 0.8773 MB / 0.8669 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006475/0.2459, allocations: 152.5 kB / 0.8671 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.2464, allocations: 231.3 kB / 0.8673 GB, free: 0 / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2464, allocations: 0 / 0.8673 GB, free: 0 / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.2912, allocations: 14.94 MB / 0.8819 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.009/9.3, allocations: 10.69 kB / 0.8819 GB, free: 1.203 MB / 0.6231 GB " [Timeout remaining time 651] (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: 13.569571919739246] Failed to read output from testmodel.py, exit status != 0: 9.455814944114536 9.473578961 9.296999311 Calling exit ...