Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.002032/0.002032, allocations: 93.47 kB / 19.44 MB, free: 332 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.002063/0.002063, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.00315/0.00315, allocations: 241.6 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.189/1.189, allocations: 138.4 MB / 454.7 MB, free: 1.52 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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.173e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.009634/0.009666, allocations: 3.582 MB / 0.5578 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.02034, allocations: 3.65 MB / 0.5614 GB, free: 9.645 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.02082, allocations: 11.88 kB / 0.5614 GB, free: 9.633 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.0007898/0.02161, allocations: 130.8 kB / 0.5615 GB, free: 9.504 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.02393, allocations: 0.5125 MB / 0.562 GB, free: 8.988 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.02543, allocations: 395 kB / 0.5624 GB, free: 8.602 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.02695, allocations: 0.8345 MB / 0.5632 GB, free: 7.766 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.02736, allocations: 130.4 kB / 0.5633 GB, free: 7.637 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.0285, allocations: 498.9 kB / 0.5638 GB, free: 7.148 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008058/0.0293, allocations: 279.2 kB / 0.5641 GB, free: 6.875 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.0295, allocations: 72 kB / 0.5641 GB, free: 6.805 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.0312, allocations: 0.5499 MB / 0.5647 GB, free: 6.254 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.03152, allocations: 187.4 kB / 0.5648 GB, free: 6.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.03196, allocations: 219.4 kB / 0.565 GB, free: 5.855 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.03471, allocations: 1.293 MB / 0.5663 GB, free: 4.559 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.03472, allocations: 0 / 0.5663 GB, free: 4.559 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03472, allocations: 7.938 kB / 0.5663 GB, free: 4.551 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.03473, allocations: 0 / 0.5663 GB, free: 4.551 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.003806/0.03853, allocations: 1.127 MB / 0.5674 GB, free: 3.383 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.03858, allocations: 8.75 kB / 0.5674 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/0.04468, allocations: 0.5234 MB / 0.5679 GB, free: 2.852 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.04689, allocations: 0.533 MB / 0.5685 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.04721, allocations: 199.8 kB / 0.5686 GB, free: 2.059 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.04737, allocations: 48.38 kB / 0.5687 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.0498, allocations: 0.7187 MB / 0.5694 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.04983, allocations: 3.938 kB / 0.5694 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.04994, allocations: 20 kB / 0.5694 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.04996, allocations: 12 kB / 0.5694 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.05264, allocations: 0.566 MB / 0.57 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00631/0.05895, allocations: 1.706 MB / 0.5717 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.06282, allocations: 0.6511 MB / 0.5723 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.06411, allocations: 269 kB / 0.5725 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/0.06593, allocations: 180.3 kB / 0.5727 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.0674, allocations: 375.7 kB / 0.5731 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 4.579e-06/0.06741, allocations: 4 kB / 0.5731 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.01193/0.07934, allocations: 1.289 MB / 0.5743 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.07946, allocations: 115.2 kB / 0.5744 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.08031, allocations: 0.5456 MB / 0.575 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.0804, allocations: 37.7 kB / 0.575 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.08074, allocations: 351.8 kB / 0.5753 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.08098, allocations: 202.3 kB / 0.5755 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.08125, allocations: 143.9 kB / 0.5757 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003431/0.0816, allocations: 0.5665 MB / 0.5762 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.08224, allocations: 221.2 kB / 0.5764 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.08311, allocations: 473 kB / 0.5769 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.08459, allocations: 0.6298 MB / 0.5775 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.0846, allocations: 4 kB / 0.5775 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005112/0.08971, allocations: 1.008 MB / 0.5785 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.08973, allocations: 4 kB / 0.5785 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.08974, allocations: 4 kB / 0.5785 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/0.09396, allocations: 419.6 kB / 0.5789 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.09475, allocations: 143.8 kB / 0.579 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.09974, allocations: 2.589 MB / 0.5816 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.1004, allocations: 75.59 kB / 0.5816 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/0.1005, allocations: 35.91 kB / 0.5817 GB, free: 4.227 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 {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.1009, allocations: 228.5 kB / 0.5819 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.101, allocations: 67.67 kB / 0.582 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.1044, allocations: 0.9438 MB / 0.5829 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.1044, allocations: 8 kB / 0.5829 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1044, allocations: 0 / 0.5829 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1044, allocations: 3.984 kB / 0.5829 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.1087, allocations: 1.572 MB / 0.5844 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1087, allocations: 0 / 0.5844 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.1093, allocations: 131.8 kB / 0.5846 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.1111, allocations: 247.5 kB / 0.5848 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/0.1112, allocations: 23.98 kB / 0.5848 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003386/0.1146, allocations: 2.312 MB / 0.5871 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1146, allocations: 0 / 0.5871 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.1175, allocations: 0.9757 MB / 0.588 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.1179, allocations: 143.3 kB / 0.5882 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.1179, allocations: 12 kB / 0.5882 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.1185, allocations: 38.55 kB / 0.5882 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.1186, allocations: 60.44 kB / 0.5883 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.1187, allocations: 23.98 kB / 0.5883 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004416/0.1191, allocations: 347 kB / 0.5886 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1191, allocations: 3.938 kB / 0.5886 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009696/0.1201, allocations: 259.3 kB / 0.5889 GB, free: 12.64 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 (67): * 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: 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003149/0.1232, allocations: 0.5984 MB / 0.5895 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.1254, allocations: 0.8267 MB / 0.5903 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1254, allocations: 0 / 0.5903 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.1265, allocations: 0.5334 MB / 0.5908 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.127, allocations: 98.73 kB / 0.5909 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1293, allocations: 1.128 MB / 0.592 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1296, allocations: 286.2 kB / 0.5923 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005596/0.1302, allocations: 136.4 kB / 0.5924 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.1305, allocations: 72.44 kB / 0.5925 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/0.1305, allocations: 4 kB / 0.5925 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of Templates: time 0.1967/0.3272, allocations: 10.95 MB / 0.6031 GB, free: 99.07 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.77653376001399]