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.00137/0.00137, 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.001592/0.001592, allocations: 161.7 kB / 22.76 MB, free: 1.676 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.445/1.445, allocations: 177.1 MB / 203.1 MB, free: 5.535 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.00262/0.00262, allocations: 235.3 kB / 259.8 MB, free: 12.85 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.081/1.081, allocations: 138.4 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.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.633e-06/1.633e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.113e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005643/0.005665, allocations: 3.45 MB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006534/0.0122, allocations: 3.537 MB / 0.5611 GB, free: 9.848 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.01256, allocations: 11.88 kB / 0.5611 GB, free: 9.836 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.0005904/0.01315, allocations: 130.8 kB / 0.5613 GB, free: 9.707 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.01464, allocations: 0.5048 MB / 0.5617 GB, free: 9.199 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009421/0.01558, allocations: 383 kB / 0.5621 GB, free: 8.824 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.01674, allocations: 0.8499 MB / 0.5629 GB, free: 7.973 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.01705, allocations: 130.4 kB / 0.5631 GB, free: 7.844 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008332/0.01788, allocations: 491 kB / 0.5635 GB, free: 7.363 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.01845, allocations: 291.2 kB / 0.5638 GB, free: 7.078 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.01861, allocations: 76 kB / 0.5639 GB, free: 7.004 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.01968, allocations: 0.5499 MB / 0.5644 GB, free: 6.453 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.01993, allocations: 199.3 kB / 0.5646 GB, free: 6.258 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.02026, allocations: 231.4 kB / 0.5648 GB, free: 6.031 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.02232, allocations: 1.347 MB / 0.5661 GB, free: 4.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.02232, allocations: 7.922 kB / 0.5662 GB, free: 4.672 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02233, allocations: 0 / 0.5662 GB, free: 4.672 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.02234, allocations: 0 / 0.5662 GB, free: 4.672 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.002696/0.02504, allocations: 0.9847 MB / 0.5671 GB, free: 3.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.02507, allocations: 8.75 kB / 0.5671 GB, free: 3.645 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/0.02947, allocations: 0.7106 MB / 0.5678 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.03104, allocations: 0.5809 MB / 0.5684 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.03124, allocations: 191.8 kB / 0.5686 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.03135, allocations: 48.38 kB / 0.5686 GB, free: 2.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.03311, allocations: 0.7895 MB / 0.5694 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.03312, allocations: 0 / 0.5694 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.0332, allocations: 24 kB / 0.5694 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.03321, allocations: 8 kB / 0.5694 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.03522, allocations: 0.726 MB / 0.5701 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.03937, allocations: 1.755 MB / 0.5718 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.04248, allocations: 0.8055 MB / 0.5726 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.04346, allocations: 346.1 kB / 0.573 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.04473, allocations: 205.5 kB / 0.5732 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.0459, allocations: 450 kB / 0.5736 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 2.194e-06/0.0459, allocations: 0 / 0.5736 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.01349/0.05939, allocations: 1.847 MB / 0.5754 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.05949, allocations: 111.2 kB / 0.5755 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.06014, allocations: 422 kB / 0.5759 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.06023, allocations: 37.7 kB / 0.5759 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.0605, allocations: 277.1 kB / 0.5762 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.06073, allocations: 194.3 kB / 0.5764 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.06102, allocations: 134.2 kB / 0.5765 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.06124, allocations: 358.8 kB / 0.5768 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009042/0.06214, allocations: 309.1 kB / 0.5771 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.06323, allocations: 0.4891 MB / 0.5776 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.06522, allocations: 0.7367 MB / 0.5783 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.06522, allocations: 0 / 0.5783 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.008123/0.07335, allocations: 1.317 MB / 0.5796 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.07337, allocations: 4 kB / 0.5796 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.07338, allocations: 4 kB / 0.5796 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007673/0.08105, allocations: 0.6682 MB / 0.5803 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.08199, allocations: 159.7 kB / 0.5804 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006943/0.08893, allocations: 2.533 MB / 0.5829 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.08982, allocations: 102 kB / 0.583 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.08993, allocations: 39.89 kB / 0.583 GB, free: 2.867 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.0004127/0.09034, allocations: 209.2 kB / 0.5832 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.09058, allocations: 71.62 kB / 0.5833 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.09513, allocations: 1.175 MB / 0.5845 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.09514, allocations: 15.94 kB / 0.5845 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.09515, allocations: 0 / 0.5845 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.09516, allocations: 3.984 kB / 0.5845 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.1006, allocations: 1.711 MB / 0.5862 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.1006, allocations: 8 kB / 0.5862 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/0.1015, allocations: 139.8 kB / 0.5863 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.1044, allocations: 368.5 kB / 0.5866 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.1044, allocations: 19.97 kB / 0.5867 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/0.1084, allocations: 2.078 MB / 0.5887 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1084, allocations: 4 kB / 0.5887 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/0.1127, allocations: 1.148 MB / 0.5898 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.113, allocations: 135.4 kB / 0.5899 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1131, allocations: 12 kB / 0.59 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.1139, allocations: 67.86 kB / 0.59 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.114, allocations: 52.48 kB / 0.5901 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.1141, allocations: 23.98 kB / 0.5901 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000458/0.1145, allocations: 291.1 kB / 0.5904 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.1145, allocations: 0 / 0.5904 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009635/0.1155, allocations: 271.3 kB / 0.5906 GB, free: 10.91 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.002382/0.1179, allocations: 0.6075 MB / 0.5912 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003363/0.1212, allocations: 0.9289 MB / 0.5921 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1212, allocations: 0 / 0.5921 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.1229, allocations: 0.5216 MB / 0.5926 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.1235, allocations: 101.9 kB / 0.5927 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1263, allocations: 1.212 MB / 0.5939 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1267, allocations: 286.2 kB / 0.5942 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006162/0.1273, allocations: 148.4 kB / 0.5943 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.1276, allocations: 76.44 kB / 0.5944 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.1276, allocations: 3.938 kB / 0.5944 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of Templates: time 0.1859/0.3135, allocations: 11.83 MB / 0.606 GB, free: 99.56 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3551581599749625]