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.0008866/0.0008866, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.0009341/0.0009341, allocations: 173 kB / 23.5 MB, free: 1.051 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.9287/0.9287, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001789/0.001789, allocations: 242.8 kB / 260.5 MB, free: 12.88 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.7577/0.7577, allocations: 138.4 MB / 455.4 MB, free: 1.492 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.673e-06/1.673e-06, allocations: 3.938 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.496e-05, allocations: 2.312 kB / 0.555 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.0039/0.003925, allocations: 3.629 MB / 0.5585 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.007858, allocations: 3.65 MB / 0.5621 GB, free: 9.559 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.008152, allocations: 15.88 kB / 0.5621 GB, free: 9.543 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.0004305/0.008582, allocations: 122.9 kB / 0.5622 GB, free: 9.422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.009533, allocations: 0.5203 MB / 0.5627 GB, free: 8.898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.01014, allocations: 367 kB / 0.5631 GB, free: 8.539 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.01075, allocations: 0.7876 MB / 0.5639 GB, free: 7.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.01097, allocations: 138.4 kB / 0.564 GB, free: 7.613 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.01146, allocations: 466.9 kB / 0.5644 GB, free: 7.156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.01178, allocations: 255.3 kB / 0.5647 GB, free: 6.906 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.01186, allocations: 68 kB / 0.5647 GB, free: 6.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.01269, allocations: 0.5459 MB / 0.5653 GB, free: 6.293 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.01285, allocations: 179.4 kB / 0.5654 GB, free: 6.117 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01304, allocations: 211.4 kB / 0.5657 GB, free: 5.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.01447, allocations: 0.9305 MB / 0.5666 GB, free: 4.977 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01448, allocations: 0 / 0.5666 GB, free: 4.977 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01448, allocations: 4 kB / 0.5666 GB, free: 4.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.01449, allocations: 0 / 0.5666 GB, free: 4.973 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.00144/0.01593, allocations: 1.065 MB / 0.5676 GB, free: 3.867 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.01598, allocations: 12.73 kB / 0.5676 GB, free: 3.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.01756, allocations: 496 kB / 0.5681 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.01833, allocations: 0.5213 MB / 0.5686 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.01845, allocations: 195.8 kB / 0.5688 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.01851, allocations: 48.38 kB / 0.5688 GB, free: 2.547 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.01927, allocations: 0.5948 MB / 0.5694 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.01928, allocations: 0 / 0.5694 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.01933, allocations: 20 kB / 0.5694 GB, free: 1.891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.01934, allocations: 15.94 kB / 0.5694 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.01988, allocations: 349.6 kB / 0.5698 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.02175, allocations: 1.367 MB / 0.5711 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.02278, allocations: 434 kB / 0.5715 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.02306, allocations: 165 kB / 0.5717 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.02361, allocations: 184.3 kB / 0.5719 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.02397, allocations: 247.8 kB / 0.5721 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.02397, allocations: 0 / 0.5721 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0009034/0.02487, allocations: 0.5123 MB / 0.5726 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.02493, allocations: 119.2 kB / 0.5727 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.02529, allocations: 443.9 kB / 0.5731 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.02533, allocations: 33.7 kB / 0.5732 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.02551, allocations: 335.8 kB / 0.5735 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.02562, allocations: 190.4 kB / 0.5737 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.02576, allocations: 123.9 kB / 0.5738 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.02592, allocations: 0.5352 MB / 0.5743 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.02613, allocations: 109.2 kB / 0.5744 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.02644, allocations: 356 kB / 0.5748 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.02694, allocations: 425.1 kB / 0.5752 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.02694, allocations: 7.938 kB / 0.5752 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006987/0.02764, allocations: 0.4932 MB / 0.5756 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.02766, allocations: 4 kB / 0.5757 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.02767, allocations: 4 kB / 0.5757 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.02768, allocations: 8 kB / 0.5757 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.02852, allocations: 240 kB / 0.5759 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.02963, allocations: 1.908 MB / 0.5778 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.02993, allocations: 74.47 kB / 0.5778 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.02997, allocations: 31.97 kB / 0.5779 GB, free: 8.832 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.0001855/0.03015, allocations: 188.4 kB / 0.578 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.03025, allocations: 75.62 kB / 0.5781 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.03132, allocations: 0.6469 MB / 0.5787 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.03133, allocations: 4 kB / 0.5787 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03133, allocations: 4 kB / 0.5787 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.03134, allocations: 3.984 kB / 0.5788 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.03283, allocations: 1.131 MB / 0.5799 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03283, allocations: 0 / 0.5799 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.03317, allocations: 123.8 kB / 0.58 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/0.03358, allocations: 95.55 kB / 0.5801 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.03362, allocations: 19.98 kB / 0.5801 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.03464, allocations: 1.867 MB / 0.5819 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.03464, allocations: 4.031 kB / 0.5819 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.03558, allocations: 0.6789 MB / 0.5826 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.03576, allocations: 131.4 kB / 0.5827 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.03581, allocations: 12 kB / 0.5827 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.03605, allocations: 35.97 kB / 0.5827 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.03614, allocations: 52.56 kB / 0.5828 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.03618, allocations: 19.98 kB / 0.5828 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002092/0.03639, allocations: 287 kB / 0.5831 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.03639, allocations: 0 / 0.5831 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006315/0.03702, allocations: 255.3 kB / 0.5833 GB, free: 2.988 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.001197/0.03822, allocations: 0.5732 MB / 0.5839 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.03934, allocations: 489.9 kB / 0.5844 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03935, allocations: 0 / 0.5844 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.0398, allocations: 413.7 kB / 0.5848 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.04017, allocations: 92.56 kB / 0.5848 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.04177, allocations: 1.019 MB / 0.5858 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.582e-05/0.04186, allocations: 140.7 kB / 0.586 GB, free: 364 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.04222, allocations: 132.5 kB / 0.5861 GB, free: 228 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.04239, allocations: 72.45 kB / 0.5862 GB, free: 156 kB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/0.04239, allocations: 0 / 0.5862 GB, free: 156 kB / 0.4948 GB Notification: Performance of Templates: time 0.01243/0.05482, allocations: 9.404 MB / 0.5954 GB, free: 6.84 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.114445579936728]