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.001008/0.001008, allocations: 88.23 kB / 19.64 MB, free: 308 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.000913/0.000913, allocations: 168.9 kB / 23.02 MB, free: 1.574 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 0.9856/0.9856, allocations: 177.1 MB / 203.4 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] 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.002426/0.002426, allocations: 246 kB / 260.2 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 0.6924/0.6924, allocations: 138.4 MB / 455.2 MB, free: 1.586 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.933e-06/1.933e-06, allocations: 0 / 0.5551 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.941e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.004069/0.004088, allocations: 3.633 MB / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.007841, allocations: 3.661 MB / 0.5622 GB, free: 9.262 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.008107, allocations: 19.81 kB / 0.5622 GB, free: 9.242 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.0004432/0.00855, allocations: 118.9 kB / 0.5623 GB, free: 9.125 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.009698, allocations: 0.5203 MB / 0.5629 GB, free: 8.602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.01026, allocations: 375 kB / 0.5632 GB, free: 8.234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006013/0.01086, allocations: 0.7876 MB / 0.564 GB, free: 7.445 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.01105, allocations: 134.4 kB / 0.5641 GB, free: 7.312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.01158, allocations: 470.9 kB / 0.5646 GB, free: 6.852 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.01201, allocations: 255.3 kB / 0.5648 GB, free: 6.602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.0121, allocations: 68 kB / 0.5649 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.01314, allocations: 0.5421 MB / 0.5654 GB, free: 5.992 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.0133, allocations: 171.4 kB / 0.5656 GB, free: 5.824 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.01348, allocations: 207.5 kB / 0.5658 GB, free: 5.621 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.01437, allocations: 0.9304 MB / 0.5667 GB, free: 4.688 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01437, allocations: 0 / 0.5667 GB, free: 4.688 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01437, allocations: 4 kB / 0.5667 GB, free: 4.684 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.01437, allocations: 0 / 0.5667 GB, free: 4.684 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.00125/0.01562, allocations: 1.061 MB / 0.5677 GB, free: 3.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.01567, allocations: 16.73 kB / 0.5677 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.0169, allocations: 388 kB / 0.5681 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.01734, allocations: 441 kB / 0.5685 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.01746, allocations: 199.8 kB / 0.5687 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.01752, allocations: 52.31 kB / 0.5687 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/0.01828, allocations: 0.5621 MB / 0.5693 GB, free: 1.852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.0183, allocations: 0 / 0.5693 GB, free: 1.852 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.01834, allocations: 19.98 kB / 0.5693 GB, free: 1.832 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01835, allocations: 12 kB / 0.5693 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.01886, allocations: 357.7 kB / 0.5697 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.02068, allocations: 1.402 MB / 0.571 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.02162, allocations: 442.1 kB / 0.5715 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.02188, allocations: 161.1 kB / 0.5716 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.02234, allocations: 184.3 kB / 0.5718 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.02268, allocations: 251.7 kB / 0.572 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.295e-06/0.02268, allocations: 0 / 0.572 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0008383/0.02352, allocations: 0.5318 MB / 0.5725 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.02356, allocations: 107.3 kB / 0.5727 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.02388, allocations: 443.9 kB / 0.5731 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.02393, allocations: 37.7 kB / 0.5731 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.02408, allocations: 335.7 kB / 0.5734 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.02419, allocations: 186.4 kB / 0.5736 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02433, allocations: 123.9 kB / 0.5737 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.02447, allocations: 0.5352 MB / 0.5742 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.02467, allocations: 109.2 kB / 0.5744 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.02496, allocations: 349.3 kB / 0.5747 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.02543, allocations: 417.4 kB / 0.5751 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.02543, allocations: 4 kB / 0.5751 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006496/0.02608, allocations: 0.493 MB / 0.5756 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.02609, allocations: 4 kB / 0.5756 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.0261, allocations: 4 kB / 0.5756 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.02612, allocations: 8 kB / 0.5756 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.0283, allocations: 0.5309 MB / 0.5761 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.02951, allocations: 1.994 MB / 0.5781 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.02976, allocations: 67.77 kB / 0.5781 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.0298, allocations: 35.91 kB / 0.5781 GB, free: 8.359 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 68 * 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.0001556/0.02996, allocations: 191.9 kB / 0.5783 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.03005, allocations: 79.61 kB / 0.5784 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.03116, allocations: 0.6664 MB / 0.5791 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.03117, allocations: 11.94 kB / 0.5791 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.03117, allocations: 0 / 0.5791 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.03118, allocations: 7.984 kB / 0.5791 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.03264, allocations: 1.178 MB / 0.5802 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03264, allocations: 8 kB / 0.5802 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.03296, allocations: 119.9 kB / 0.5804 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005628/0.03352, allocations: 139.5 kB / 0.5805 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.03356, allocations: 23.97 kB / 0.5805 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.03464, allocations: 1.948 MB / 0.5824 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.03465, allocations: 0 / 0.5824 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.03585, allocations: 0.7179 MB / 0.5831 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.03602, allocations: 139.4 kB / 0.5832 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.03607, allocations: 12 kB / 0.5833 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.03629, allocations: 35.97 kB / 0.5833 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.03637, allocations: 48.56 kB / 0.5833 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.03641, allocations: 23.97 kB / 0.5834 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001874/0.0366, allocations: 283.1 kB / 0.5836 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0366, allocations: 0 / 0.5836 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004802/0.03708, allocations: 263.3 kB / 0.5839 GB, free: 2.258 MB / 0.4948 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.001022/0.0381, allocations: 0.5771 MB / 0.5844 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.03997, allocations: 0.6654 MB / 0.5851 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03997, allocations: 0 / 0.5851 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.04045, allocations: 417.5 kB / 0.5855 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.04079, allocations: 90.28 kB / 0.5856 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.04223, allocations: 1.024 MB / 0.5866 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.04231, allocations: 132.8 kB / 0.5867 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003231/0.04263, allocations: 132.3 kB / 0.5868 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.04281, allocations: 76.44 kB / 0.5869 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/0.04281, allocations: 0 / 0.5869 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.01284/0.05565, allocations: 10.58 MB / 0.5972 GB, free: 4.75 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.257619252894074]