Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.001903/0.001903, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002529/0.002529, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.812 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.002632/0.002632, allocations: 286.6 kB / 312.7 MB, free: 2.617 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.273/1.273, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") [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.00296/0.00296, allocations: 100.6 kB / 0.74 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1541, allocations: 95.38 MB / 0.8331 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.005724/0.1598, allocations: 3.484 MB / 0.8365 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005863/0.1656, allocations: 3.491 MB / 0.8399 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1659, allocations: 15.88 kB / 0.8399 GB, free: 0.8242 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.0004861/0.1664, allocations: 115 kB / 0.84 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1677, allocations: 0.4973 MB / 0.8405 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.1685, allocations: 382.5 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008165/0.1693, allocations: 0.7644 MB / 0.8416 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.1695, allocations: 130.4 kB / 0.8418 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.17, allocations: 334.9 kB / 0.8421 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.1705, allocations: 302.6 kB / 0.8424 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1706, allocations: 72 kB / 0.8424 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008997/0.1715, allocations: 0.5424 MB / 0.843 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1717, allocations: 171.5 kB / 0.8431 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.172, allocations: 262.7 kB / 0.8434 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1734, allocations: 1.164 MB / 0.8445 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1734, allocations: 3.984 kB / 0.8445 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.096e-06/0.1734, allocations: 4 kB / 0.8445 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.1734, allocations: 0 / 0.8445 GB, free: 12.09 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.001971/0.1754, allocations: 0.9652 MB / 0.8455 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1754, allocations: 13.34 kB / 0.8455 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.179, allocations: 0.6092 MB / 0.8461 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.1804, allocations: 0.5621 MB / 0.8466 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.1806, allocations: 207.7 kB / 0.8468 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.1807, allocations: 43.94 kB / 0.8469 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.1822, allocations: 0.7311 MB / 0.8476 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1822, allocations: 0 / 0.8476 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.1823, allocations: 24 kB / 0.8476 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1823, allocations: 12 kB / 0.8476 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.1841, allocations: 0.6869 MB / 0.8483 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.1875, allocations: 1.528 MB / 0.8498 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.1902, allocations: 0.775 MB / 0.8505 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.191, allocations: 305.9 kB / 0.8508 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.1921, allocations: 192.2 kB / 0.851 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009496/0.1931, allocations: 397.1 kB / 0.8514 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/0.1931, allocations: 0 / 0.8514 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002614/0.1957, allocations: 0.9319 MB / 0.8523 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.1958, allocations: 111.2 kB / 0.8524 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.1963, allocations: 427.1 kB / 0.8528 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.1964, allocations: 37.7 kB / 0.8528 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.1966, allocations: 289 kB / 0.8531 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1968, allocations: 182.4 kB / 0.8533 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.197, allocations: 122.2 kB / 0.8534 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1972, allocations: 362.7 kB / 0.8537 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/0.1979, allocations: 277.1 kB / 0.854 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.1988, allocations: 460.8 kB / 0.8545 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.2004, allocations: 0.6584 MB / 0.8551 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2004, allocations: 4 kB / 0.8551 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001861/0.2023, allocations: 0.7625 MB / 0.8558 GB, free: 120 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2023, allocations: 4 kB / 0.8558 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2023, allocations: 4 kB / 0.8559 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2024, allocations: 8 kB / 0.8559 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.2041, allocations: 255.9 kB / 0.8561 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.2059, allocations: 1.455 MB / 0.8575 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.2065, allocations: 87.56 kB / 0.8576 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.2066, allocations: 27.98 kB / 0.8576 GB, free: 14.18 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.2069, allocations: 216.8 kB / 0.8578 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.207, allocations: 63.5 kB / 0.8579 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.2096, allocations: 0.933 MB / 0.8588 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2096, allocations: 8 kB / 0.8588 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2097, allocations: 0 / 0.8588 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2097, allocations: 7.984 kB / 0.8588 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/0.2133, allocations: 1.449 MB / 0.8602 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2133, allocations: 0 / 0.8602 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.214, allocations: 139.8 kB / 0.8604 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005227/0.2145, allocations: 60.75 kB / 0.8604 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.2146, allocations: 27.84 kB / 0.8605 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.2165, allocations: 1.455 MB / 0.8619 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2165, allocations: 0 / 0.8619 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.2189, allocations: 0.9061 MB / 0.8628 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.2192, allocations: 127.4 kB / 0.8629 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.2193, allocations: 19.98 kB / 0.8629 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.2199, allocations: 55.94 kB / 0.863 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.22, allocations: 44.52 kB / 0.863 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.2201, allocations: 27.97 kB / 0.863 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004679/0.2205, allocations: 291.1 kB / 0.8633 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2205, allocations: 0 / 0.8633 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008724/0.2214, allocations: 259.3 kB / 0.8636 GB, free: 7.926 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00212/0.2235, allocations: 0.5889 MB / 0.8641 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.2265, allocations: 0.7467 MB / 0.8649 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.2265, allocations: 0 / 0.8649 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.2277, allocations: 482.5 kB / 0.8653 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.2283, allocations: 71.02 kB / 0.8654 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.2313, allocations: 1.228 MB / 0.8666 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2317, allocations: 282.2 kB / 0.8669 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006544/0.2323, allocations: 152.4 kB / 0.867 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.2327, allocations: 75.33 kB / 0.8671 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.2327, allocations: 0 / 0.8671 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.01943/0.2521, allocations: 9.788 MB / 0.8766 GB, free: 10.73 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.576739724725485] Failed to read output from testmodel.py, exit status != 0: 0.2600356414914131 0.27591137099999996 0.099450013 Calling exit ...