Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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.001449/0.001449, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001631/0.001631, allocations: 217.4 kB / 22.25 MB, free: 4.852 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.781 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.00259/0.00259, allocations: 294 kB / 312.7 MB, free: 2.59 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.222/1.222, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") [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.002965/0.002965, allocations: 108.8 kB / 0.74 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1641, allocations: 95.38 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005084/0.1692, allocations: 3.494 MB / 0.8365 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00545/0.1747, allocations: 3.487 MB / 0.8399 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.175, allocations: 15.88 kB / 0.8399 GB, free: 0.8125 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.0004792/0.1754, allocations: 125.2 kB / 0.84 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1768, allocations: 0.5012 MB / 0.8405 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000841/0.1776, allocations: 371.2 kB / 0.8409 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.1785, allocations: 0.7682 MB / 0.8416 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.1788, allocations: 127.1 kB / 0.8418 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.1794, allocations: 326.9 kB / 0.8421 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.1799, allocations: 302.6 kB / 0.8424 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.18, allocations: 68 kB / 0.8424 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.181, allocations: 0.5385 MB / 0.843 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.1812, allocations: 171.5 kB / 0.8431 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.1816, allocations: 262.6 kB / 0.8434 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.1832, allocations: 1.172 MB / 0.8445 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1832, allocations: 0 / 0.8445 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1832, allocations: 0 / 0.8445 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.1832, allocations: 0 / 0.8445 GB, free: 12.1 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002033/0.1853, allocations: 0.9651 MB / 0.8455 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1853, allocations: 9.938 kB / 0.8455 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.1891, allocations: 0.6521 MB / 0.8461 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.1905, allocations: 0.5699 MB / 0.8467 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.1907, allocations: 195.7 kB / 0.8468 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.1908, allocations: 51.94 kB / 0.8469 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.1924, allocations: 0.7739 MB / 0.8476 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1925, allocations: 4 kB / 0.8477 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.1925, allocations: 24 kB / 0.8477 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1925, allocations: 12 kB / 0.8477 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.1946, allocations: 0.7494 MB / 0.8484 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.1979, allocations: 1.569 MB / 0.85 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.2008, allocations: 0.8058 MB / 0.8507 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/0.2017, allocations: 337.9 kB / 0.8511 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.2028, allocations: 197.5 kB / 0.8512 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.2039, allocations: 445.8 kB / 0.8517 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.665e-06/0.2039, allocations: 0 / 0.8517 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.006996/0.2109, allocations: 1.544 MB / 0.8532 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.211, allocations: 107.3 kB / 0.8533 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.2115, allocations: 441.9 kB / 0.8537 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.2116, allocations: 37.7 kB / 0.8537 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.2118, allocations: 277.1 kB / 0.854 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.212, allocations: 202.3 kB / 0.8542 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.2122, allocations: 122.2 kB / 0.8543 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2124, allocations: 362.8 kB / 0.8547 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009277/0.2133, allocations: 309 kB / 0.855 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.2145, allocations: 0.493 MB / 0.8554 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.2164, allocations: 0.7055 MB / 0.8561 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2164, allocations: 4 kB / 0.8561 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003878/0.2203, allocations: 1.06 MB / 0.8572 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2203, allocations: 4 kB / 0.8572 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2203, allocations: 4 kB / 0.8572 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007508/0.221, allocations: 140.7 kB / 0.8573 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.2218, allocations: 159.8 kB / 0.8575 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.2268, allocations: 1.968 MB / 0.8594 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.2275, allocations: 103.6 kB / 0.8595 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/0.2276, allocations: 31.97 kB / 0.8595 GB, free: 12.25 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): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.2279, allocations: 213.5 kB / 0.8597 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.228, allocations: 51.67 kB / 0.8598 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.2315, allocations: 1.058 MB / 0.8608 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2316, allocations: 8 kB / 0.8608 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2316, allocations: 7.875 kB / 0.8608 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2316, allocations: 7.984 kB / 0.8608 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.2357, allocations: 1.566 MB / 0.8623 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2357, allocations: 0 / 0.8623 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.2364, allocations: 139.8 kB / 0.8625 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/0.2371, allocations: 124.7 kB / 0.8626 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.2371, allocations: 23.98 kB / 0.8626 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.2405, allocations: 1.766 MB / 0.8643 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.2405, allocations: 7.938 kB / 0.8644 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.2436, allocations: 1.035 MB / 0.8654 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.244, allocations: 131.4 kB / 0.8655 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.2441, allocations: 12 kB / 0.8655 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.2447, allocations: 51.94 kB / 0.8656 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2448, allocations: 48.56 kB / 0.8656 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.2449, allocations: 27.98 kB / 0.8656 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003823/0.2452, allocations: 299.1 kB / 0.8659 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2452, allocations: 0 / 0.8659 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008353/0.2461, allocations: 263.3 kB / 0.8662 GB, free: 5.238 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): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/0.2481, allocations: 0.5876 MB / 0.8667 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.2504, allocations: 0.8433 MB / 0.8676 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2504, allocations: 0 / 0.8676 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.2515, allocations: 498.4 kB / 0.868 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.252, allocations: 72.53 kB / 0.8681 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2546, allocations: 1.279 MB / 0.8694 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2549, allocations: 282.2 kB / 0.8696 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006071/0.2555, allocations: 148.5 kB / 0.8698 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.2558, allocations: 75.33 kB / 0.8698 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of SimCode: time 8.81e-07/0.2558, allocations: 0 / 0.8698 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of Templates: time 0.02114/0.2769, allocations: 11.3 MB / 0.8809 GB, free: 6.363 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.586770202964544] Failed to read output from testmodel.py, exit status != 0: 0.28442136384546757 0.30001628399999997 0.113774971 Calling exit ...