Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007775/0.007775, allocations: 108.5 kB / 15.71 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 187.6 kB / 16.64 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 284.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9152/0.9152, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 91.86 kB / 0.6814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4082, allocations: 86.98 MB / 0.7663 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004859/0.4131, allocations: 3.729 MB / 0.7699 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004552/0.4176, allocations: 3.427 MB / 0.7733 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.4179, allocations: 11.94 kB / 0.7733 GB, free: 12.73 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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 2.0.0-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 2.0.0-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.0004299/0.4184, allocations: 121.9 kB / 0.7734 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009836/0.4194, allocations: 461.4 kB / 0.7739 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.4201, allocations: 361.7 kB / 0.7742 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.4208, allocations: 0.7527 MB / 0.7749 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.4211, allocations: 197.9 kB / 0.7751 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.4214, allocations: 306.9 kB / 0.7754 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.4218, allocations: 326.6 kB / 0.7757 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.051e-05/0.4219, allocations: 64 kB / 0.7758 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.4226, allocations: 0.4956 MB / 0.7763 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.4228, allocations: 171.4 kB / 0.7764 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.4231, allocations: 326.3 kB / 0.7767 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.4242, allocations: 1.081 MB / 0.7778 GB, free: 8.113 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4242, allocations: 0 / 0.7778 GB, free: 8.113 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4242, allocations: 11.92 kB / 0.7778 GB, free: 8.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.4242, allocations: 0 / 0.7778 GB, free: 8.102 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001915/0.4261, allocations: 0.9914 MB / 0.7788 GB, free: 7.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4262, allocations: 11.97 kB / 0.7788 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.4297, allocations: 0.6244 MB / 0.7794 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.431, allocations: 0.6274 MB / 0.78 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4312, allocations: 118.7 kB / 0.7801 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.4313, allocations: 47.94 kB / 0.7802 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4327, allocations: 0.6948 MB / 0.7808 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4328, allocations: 3.938 kB / 0.7809 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.4328, allocations: 24 kB / 0.7809 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4329, allocations: 8 kB / 0.7809 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.4348, allocations: 0.7611 MB / 0.7816 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.4379, allocations: 1.806 MB / 0.7834 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.4407, allocations: 0.8411 MB / 0.7842 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009448/0.4416, allocations: 365.9 kB / 0.7846 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.4434, allocations: 1.769 MB / 0.7863 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.4445, allocations: 442.7 kB / 0.7867 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 2.615e-06/0.4445, allocations: 0 / 0.7867 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.006747/0.4512, allocations: 1.62 MB / 0.7883 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.4513, allocations: 111.3 kB / 0.7884 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.4519, allocations: 417.9 kB / 0.7888 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.452, allocations: 37.7 kB / 0.7888 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.4522, allocations: 272.6 kB / 0.7891 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4523, allocations: 185.3 kB / 0.7893 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.4526, allocations: 122.2 kB / 0.7894 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4527, allocations: 358.8 kB / 0.7897 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/0.4536, allocations: 309.1 kB / 0.79 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/0.4546, allocations: 441.5 kB / 0.7904 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.4565, allocations: 0.7261 MB / 0.7912 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4565, allocations: 0 / 0.7912 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00372/0.4602, allocations: 1.038 MB / 0.7922 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4602, allocations: 7.984 kB / 0.7922 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4603, allocations: 7.938 kB / 0.7922 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.461, allocations: 137.1 kB / 0.7923 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.4618, allocations: 163.7 kB / 0.7925 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004859/0.4667, allocations: 2.122 MB / 0.7945 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.4675, allocations: 98.2 kB / 0.7946 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.4676, allocations: 31.98 kB / 0.7947 GB, free: 5.914 MB / 0.5606 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): 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003509/0.468, allocations: 220 kB / 0.7949 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4681, allocations: 51.34 kB / 0.7949 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.4715, allocations: 1.044 MB / 0.7959 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4715, allocations: 4 kB / 0.7959 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4715, allocations: 0 / 0.7959 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.4715, allocations: 7.984 kB / 0.796 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.4755, allocations: 1.744 MB / 0.7977 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4755, allocations: 0 / 0.7977 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.4763, allocations: 143.8 kB / 0.7978 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006244/0.4769, allocations: 116.7 kB / 0.7979 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.477, allocations: 19.98 kB / 0.7979 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.4805, allocations: 1.908 MB / 0.7998 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4805, allocations: 0 / 0.7998 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.4836, allocations: 1.013 MB / 0.8008 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.4839, allocations: 212.1 kB / 0.801 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.484, allocations: 19.94 kB / 0.801 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.4846, allocations: 55.94 kB / 0.8011 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4848, allocations: 44.5 kB / 0.8011 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.4848, allocations: 23.98 kB / 0.8011 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00034/0.4852, allocations: 299.1 kB / 0.8014 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4852, allocations: 0 / 0.8014 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007647/0.4859, allocations: 235.6 kB / 0.8016 GB, free: 14.51 MB / 0.5762 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.487, allocations: 0.4996 MB / 0.8021 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.4892, allocations: 0.8697 MB / 0.803 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4892, allocations: 4.062 kB / 0.803 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4903, allocations: 0.5172 MB / 0.8035 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.4908, allocations: 63.92 kB / 0.8035 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.493, allocations: 1.239 MB / 0.8047 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.4934, allocations: 0.8773 MB / 0.8056 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005583/0.494, allocations: 156.4 kB / 0.8058 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.4942, allocations: 67.39 kB / 0.8058 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.4942, allocations: 0 / 0.8058 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.01604/0.5103, allocations: 10.38 MB / 0.8159 GB, free: 15.96 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)