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.001408/0.001408, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001613/0.001613, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002542/0.002542, allocations: 230.3 kB / 259.8 MB, free: 12.84 MB / 250.7 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.092/1.092, allocations: 138.5 MB / 454.7 MB, free: 1.465 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.826e-05, allocations: 9.766 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.005928/0.005956, allocations: 3.462 MB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.01243, allocations: 3.506 MB / 0.5611 GB, free: 9.852 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.0128, allocations: 11.88 kB / 0.5611 GB, free: 9.84 MB / 490.7 MB [/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.000591/0.01339, allocations: 118.9 kB / 0.5612 GB, free: 9.723 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.01493, allocations: 0.5164 MB / 0.5617 GB, free: 9.203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.01584, allocations: 367 kB / 0.5621 GB, free: 8.844 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.01696, allocations: 0.7915 MB / 0.5629 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.01729, allocations: 142.1 kB / 0.563 GB, free: 7.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.01815, allocations: 455 kB / 0.5634 GB, free: 7.465 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.01869, allocations: 263.2 kB / 0.5637 GB, free: 7.207 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.01884, allocations: 72 kB / 0.5638 GB, free: 7.137 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.01991, allocations: 0.5538 MB / 0.5643 GB, free: 6.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.02015, allocations: 179.4 kB / 0.5645 GB, free: 6.406 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.02048, allocations: 219.4 kB / 0.5647 GB, free: 6.191 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.02242, allocations: 1.27 MB / 0.5659 GB, free: 4.918 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.02242, allocations: 0 / 0.5659 GB, free: 4.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02242, allocations: 4 kB / 0.5659 GB, free: 4.914 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.02244, allocations: 3.938 kB / 0.5659 GB, free: 4.91 MB / 490.7 MB 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.002455/0.02489, allocations: 0.9691 MB / 0.5669 GB, free: 3.906 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.02493, allocations: 12.75 kB / 0.5669 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/0.02889, allocations: 0.6599 MB / 0.5675 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.03049, allocations: 0.5692 MB / 0.5681 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.03073, allocations: 199.8 kB / 0.5683 GB, free: 2.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.03085, allocations: 48.38 kB / 0.5683 GB, free: 2.359 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.03265, allocations: 0.747 MB / 0.569 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.03267, allocations: 4 kB / 0.569 GB, free: 1.574 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.03275, allocations: 20 kB / 0.5691 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.03276, allocations: 8 kB / 0.5691 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.03477, allocations: 0.7025 MB / 0.5698 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.03873, allocations: 1.61 MB / 0.5713 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.0417, allocations: 0.7824 MB / 0.5721 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009281/0.04263, allocations: 322.1 kB / 0.5724 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.04388, allocations: 200.3 kB / 0.5726 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.04495, allocations: 406 kB / 0.573 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.04495, allocations: 0 / 0.573 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.002985/0.04794, allocations: 0.9768 MB / 0.5739 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.04803, allocations: 111.3 kB / 0.574 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/0.04867, allocations: 431 kB / 0.5745 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.04873, allocations: 33.7 kB / 0.5745 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.04902, allocations: 285.1 kB / 0.5748 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.04923, allocations: 182.4 kB / 0.5749 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.04949, allocations: 122.2 kB / 0.575 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.04973, allocations: 366.7 kB / 0.5754 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008409/0.05057, allocations: 285 kB / 0.5757 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.05161, allocations: 472.8 kB / 0.5761 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.05342, allocations: 0.6703 MB / 0.5768 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.05343, allocations: 4 kB / 0.5768 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002213/0.05564, allocations: 0.8093 MB / 0.5776 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.05566, allocations: 8 kB / 0.5776 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.05567, allocations: 0 / 0.5776 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.05569, allocations: 8 kB / 0.5776 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/0.06059, allocations: 0.5541 MB / 0.5781 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.06325, allocations: 1.632 MB / 0.5797 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.06405, allocations: 87.56 kB / 0.5798 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/0.06414, allocations: 31.97 kB / 0.5798 GB, free: 6.168 MB / 0.4948 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.000383/0.06452, allocations: 209.7 kB / 0.58 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.06472, allocations: 67.67 kB / 0.5801 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.06799, allocations: 0.9914 MB / 0.5811 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.068, allocations: 8 kB / 0.5811 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.068, allocations: 0 / 0.5811 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.06802, allocations: 3.984 kB / 0.5811 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.07206, allocations: 1.516 MB / 0.5826 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.07206, allocations: 0 / 0.5826 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.07288, allocations: 143.8 kB / 0.5827 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.07418, allocations: 148.6 kB / 0.5828 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.07425, allocations: 19.97 kB / 0.5829 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.07676, allocations: 1.645 MB / 0.5845 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.07676, allocations: 0 / 0.5845 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/0.07975, allocations: 0.9841 MB / 0.5854 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.0801, allocations: 135.4 kB / 0.5856 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.0802, allocations: 12 kB / 0.5856 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.08086, allocations: 51.94 kB / 0.5856 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.081, allocations: 56.55 kB / 0.5857 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/0.08109, allocations: 19.98 kB / 0.5857 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004389/0.08153, allocations: 299.1 kB / 0.586 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.08153, allocations: 0 / 0.586 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009082/0.08243, allocations: 259.3 kB / 0.5862 GB, free: 15.44 MB / 0.5105 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.002385/0.08482, allocations: 0.6122 MB / 0.5868 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005054/0.08987, allocations: 0.9572 MB / 0.5878 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.08988, allocations: 0 / 0.5878 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.09126, allocations: 485.7 kB / 0.5882 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.09186, allocations: 94.86 kB / 0.5883 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.09456, allocations: 1.208 MB / 0.5895 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.09491, allocations: 278.2 kB / 0.5897 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006384/0.09555, allocations: 148.4 kB / 0.5899 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.09582, allocations: 72.45 kB / 0.59 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.09583, allocations: 3.938 kB / 0.59 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.02066/0.1165, allocations: 9.763 MB / 0.5995 GB, free: 2.047 MB / 0.5105 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.503786846995354]