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.001451/0.001451, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.001696/0.001696, allocations: 183.9 kB / 17.35 MB, free: 5.758 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 296.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3726, allocations: 86.96 MB / 0.767 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004639/0.3773, allocations: 3.744 MB / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00447/0.3817, allocations: 3.423 MB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.382, allocations: 11.94 kB / 0.774 GB, free: 12.66 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.0004288/0.3825, allocations: 122.9 kB / 0.7741 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.3834, allocations: 457.4 kB / 0.7746 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.3841, allocations: 364.1 kB / 0.7749 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006636/0.3848, allocations: 0.7526 MB / 0.7757 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.3851, allocations: 193.9 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.3854, allocations: 314.9 kB / 0.7761 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.3859, allocations: 326.6 kB / 0.7765 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-05/0.386, allocations: 64 kB / 0.7765 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007749/0.3867, allocations: 0.4956 MB / 0.777 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3869, allocations: 171.4 kB / 0.7772 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.3872, allocations: 330.2 kB / 0.7775 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3883, allocations: 1.081 MB / 0.7785 GB, free: 8.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3883, allocations: 3.938 kB / 0.7785 GB, free: 8.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3883, allocations: 0 / 0.7785 GB, free: 8.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3883, allocations: 0 / 0.7785 GB, free: 8.031 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.001783/0.3901, allocations: 0.9913 MB / 0.7795 GB, free: 6.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3901, allocations: 16.03 kB / 0.7795 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/0.3938, allocations: 0.6166 MB / 0.7801 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.3951, allocations: 0.6235 MB / 0.7807 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3952, allocations: 118.7 kB / 0.7808 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.3953, allocations: 51.94 kB / 0.7809 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3969, allocations: 0.6909 MB / 0.7816 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3969, allocations: 3.938 kB / 0.7816 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.397, allocations: 20 kB / 0.7816 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.397, allocations: 15.94 kB / 0.7816 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.399, allocations: 0.7611 MB / 0.7824 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.4021, allocations: 1.802 MB / 0.7841 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.405, allocations: 0.8489 MB / 0.7849 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009646/0.4059, allocations: 373.8 kB / 0.7853 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/0.4078, allocations: 1.761 MB / 0.787 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.4089, allocations: 438.7 kB / 0.7874 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 2.595e-06/0.4089, allocations: 0 / 0.7874 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.006766/0.4157, allocations: 1.62 MB / 0.789 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4157, allocations: 111.4 kB / 0.7891 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.4162, allocations: 421.9 kB / 0.7895 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.4163, allocations: 33.7 kB / 0.7896 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.4165, allocations: 272.6 kB / 0.7898 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.4166, allocations: 189.3 kB / 0.79 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4169, allocations: 122.2 kB / 0.7901 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.417, allocations: 358.8 kB / 0.7905 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008944/0.4179, allocations: 309.1 kB / 0.7908 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.4189, allocations: 445.5 kB / 0.7912 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.4207, allocations: 0.7223 MB / 0.7919 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4207, allocations: 4 kB / 0.7919 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003677/0.4244, allocations: 1.038 MB / 0.7929 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4244, allocations: 10.81 kB / 0.7929 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4244, allocations: 0 / 0.7929 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.4252, allocations: 149 kB / 0.7931 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.426, allocations: 155.7 kB / 0.7932 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.4308, allocations: 2.115 MB / 0.7953 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.4316, allocations: 91.53 kB / 0.7954 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.4316, allocations: 31.97 kB / 0.7954 GB, free: 5.852 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.0003132/0.432, allocations: 212 kB / 0.7956 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4321, allocations: 55.33 kB / 0.7956 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.4355, allocations: 1.056 MB / 0.7967 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4355, allocations: 7.922 kB / 0.7967 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4355, allocations: 3.938 kB / 0.7967 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.4357, allocations: 204.2 kB / 0.7969 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.4358, allocations: 12 kB / 0.7969 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.4364, allocations: 59.92 kB / 0.7969 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4366, allocations: 44.5 kB / 0.797 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002933/0.4395, allocations: 0.9912 MB / 0.798 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00298/0.4425, allocations: 1.384 MB / 0.7993 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008813/0.4434, allocations: 376.3 kB / 0.7997 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003138/0.4437, allocations: 287.1 kB / 0.7999 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of Backend: time 2.51e-07/0.4437, allocations: 0 / 0.7999 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003099/0.4468, allocations: 1.169 MB / 0.8011 GB, free: 140 kB / 0.5606 GB Notification: Performance of SimCode: time 0.001613/0.4485, allocations: 1.441 MB / 0.8025 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.01902/0.4675, allocations: 12.12 MB / 0.8143 GB, free: 2.582 MB / 0.5762 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)