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.001459/0.001459, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001612/0.001612, allocations: 211.1 kB / 23.01 MB, free: 4.57 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.002418/0.002418, allocations: 278.3 kB / 313.5 MB, free: 2.828 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.159/1.159, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [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.002731/0.002731, allocations: 116.5 kB / 0.7408 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1596, allocations: 95.38 MB / 0.8339 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005473/0.165, allocations: 3.831 MB / 0.8377 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005724/0.1708, allocations: 3.729 MB / 0.8413 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.1711, allocations: 11.88 kB / 0.8413 GB, free: 0.5625 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.0004945/0.1716, allocations: 130.9 kB / 0.8414 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.1729, allocations: 0.4934 MB / 0.8419 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.1737, allocations: 369.3 kB / 0.8423 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008264/0.1745, allocations: 0.7526 MB / 0.843 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.1748, allocations: 146.4 kB / 0.8432 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.1753, allocations: 318.9 kB / 0.8435 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.1758, allocations: 330.6 kB / 0.8438 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.519e-05/0.1759, allocations: 68 kB / 0.8438 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1769, allocations: 0.5697 MB / 0.8444 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.1771, allocations: 183.3 kB / 0.8446 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.1774, allocations: 318.3 kB / 0.8449 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1789, allocations: 1.171 MB / 0.846 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1789, allocations: 0 / 0.846 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1789, allocations: 0 / 0.846 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.1789, allocations: 0 / 0.846 GB, free: 11.73 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.001983/0.1809, allocations: 0.9729 MB / 0.847 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.181, allocations: 9.344 kB / 0.847 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/0.1847, allocations: 0.6443 MB / 0.8476 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.1861, allocations: 0.5738 MB / 0.8482 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.1863, allocations: 199.8 kB / 0.8484 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.1863, allocations: 47.94 kB / 0.8484 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1879, allocations: 0.6947 MB / 0.8491 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1879, allocations: 4 kB / 0.8491 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.188, allocations: 24 kB / 0.8491 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.188, allocations: 11.98 kB / 0.8491 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.19, allocations: 0.7533 MB / 0.8499 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/0.1937, allocations: 1.781 MB / 0.8516 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.1965, allocations: 0.8035 MB / 0.8524 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000943/0.1975, allocations: 333.9 kB / 0.8527 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.1986, allocations: 200.2 kB / 0.8529 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.1997, allocations: 429.1 kB / 0.8533 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.1997, allocations: 0 / 0.8533 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.00293/0.2026, allocations: 1.01 MB / 0.8543 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.2027, allocations: 111.2 kB / 0.8544 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.2032, allocations: 454.3 kB / 0.8548 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.2033, allocations: 33.7 kB / 0.8549 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.2035, allocations: 285.1 kB / 0.8551 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.2037, allocations: 190.4 kB / 0.8553 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.2039, allocations: 122.2 kB / 0.8554 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2041, allocations: 366.8 kB / 0.8558 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.205, allocations: 301.1 kB / 0.8561 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009802/0.206, allocations: 441.4 kB / 0.8565 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.2078, allocations: 0.7013 MB / 0.8572 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2078, allocations: 0 / 0.8572 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002135/0.2099, allocations: 0.8133 MB / 0.858 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2099, allocations: 18.06 kB / 0.858 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2099, allocations: 11.92 kB / 0.858 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2099, allocations: 8 kB / 0.858 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.2109, allocations: 179.9 kB / 0.8582 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.2109, allocations: 15.92 kB / 0.8582 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.2116, allocations: 95.55 kB / 0.8583 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.2116, allocations: 31.97 kB / 0.8583 GB, free: 14.79 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.0003022/0.2119, allocations: 209.6 kB / 0.8585 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.212, allocations: 55.62 kB / 0.8586 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.2143, allocations: 0.8893 MB / 0.8594 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2143, allocations: 8 kB / 0.8594 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2143, allocations: 3.938 kB / 0.8594 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2143, allocations: 3.984 kB / 0.8594 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.2173, allocations: 1.557 MB / 0.861 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2173, allocations: 4 kB / 0.861 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.2181, allocations: 155.8 kB / 0.8611 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.2181, allocations: 7.938 kB / 0.8611 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.2181, allocations: 15.98 kB / 0.8611 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2181, allocations: 4 kB / 0.8611 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2181, allocations: 0 / 0.8611 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.22, allocations: 0.8663 MB / 0.862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.2203, allocations: 131.4 kB / 0.8621 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.2204, allocations: 19.94 kB / 0.8621 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.221, allocations: 58.69 kB / 0.8622 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.2211, allocations: 48.5 kB / 0.8622 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.2211, allocations: 19.98 kB / 0.8623 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003518/0.2215, allocations: 311.1 kB / 0.8626 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2215, allocations: 0 / 0.8626 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007071/0.2222, allocations: 255.2 kB / 0.8628 GB, free: 10.11 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.001749/0.224, allocations: 0.5564 MB / 0.8633 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.2258, allocations: 0.7076 MB / 0.864 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2259, allocations: 3.938 kB / 0.864 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.2267, allocations: 360 kB / 0.8644 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.2272, allocations: 61.95 kB / 0.8644 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.2295, allocations: 1.297 MB / 0.8657 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.23, allocations: 0.8772 MB / 0.8666 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.2304, allocations: 87.36 kB / 0.8666 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2304, allocations: 0 / 0.8666 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.01488/0.2452, allocations: 10.7 MB / 0.8771 GB, free: 11.59 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.817522397032008] Failed to read output from testmodel.py, exit status != 0: 0.25256024091504514 0.26690604999999995 0.085024085 Calling exit ...