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.001254/0.001254, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.00123/0.00123, allocations: 192 kB / 17.34 MB, free: 5.715 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002584/0.002584, allocations: 288.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 99.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4007, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005392/0.4061, allocations: 3.729 MB / 0.7707 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005303/0.4114, allocations: 3.434 MB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.4117, allocations: 7.938 kB / 0.774 GB, free: 12.69 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.000465/0.4121, allocations: 123 kB / 0.7741 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.4132, allocations: 469.4 kB / 0.7746 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.414, allocations: 357.4 kB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008227/0.4148, allocations: 0.7603 MB / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.4151, allocations: 138 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.4154, allocations: 306.9 kB / 0.7761 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.4159, allocations: 318.6 kB / 0.7764 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.416, allocations: 68 kB / 0.7765 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.4168, allocations: 0.4956 MB / 0.777 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.417, allocations: 171.5 kB / 0.7771 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.4174, allocations: 326.2 kB / 0.7774 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.4187, allocations: 1.099 MB / 0.7785 GB, free: 8.102 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4187, allocations: 0 / 0.7785 GB, free: 8.102 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4187, allocations: 0 / 0.7785 GB, free: 8.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4187, allocations: 0 / 0.7785 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.002038/0.4207, allocations: 1.013 MB / 0.7795 GB, free: 7.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4208, allocations: 12.03 kB / 0.7795 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.4246, allocations: 0.6209 MB / 0.7801 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.426, allocations: 0.6355 MB / 0.7807 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.4262, allocations: 118.6 kB / 0.7808 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.4263, allocations: 55.81 kB / 0.7809 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4279, allocations: 0.6987 MB / 0.7816 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4279, allocations: 0 / 0.7816 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.428, allocations: 20 kB / 0.7816 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.428, allocations: 12 kB / 0.7816 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.4302, allocations: 0.7572 MB / 0.7824 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.4338, allocations: 1.802 MB / 0.7841 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.4368, allocations: 0.8047 MB / 0.7849 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.4378, allocations: 337.9 kB / 0.7852 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002129/0.44, allocations: 1.773 MB / 0.787 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.4411, allocations: 442.7 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 2.274e-06/0.4411, allocations: 0 / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.007163/0.4483, allocations: 1.617 MB / 0.789 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/0.4484, allocations: 111.3 kB / 0.7891 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.4489, allocations: 418 kB / 0.7895 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/0.449, allocations: 37.7 kB / 0.7895 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.4493, allocations: 277.1 kB / 0.7898 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.4495, allocations: 194.3 kB / 0.7899 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4497, allocations: 122.2 kB / 0.7901 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4499, allocations: 358.8 kB / 0.7904 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00096/0.4509, allocations: 313.1 kB / 0.7907 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.4519, allocations: 443.8 kB / 0.7911 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.4539, allocations: 0.7184 MB / 0.7918 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4539, allocations: 0 / 0.7918 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003885/0.4578, allocations: 1.05 MB / 0.7929 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4578, allocations: 11.94 kB / 0.7929 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.4578, allocations: 15.92 kB / 0.7929 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/0.4586, allocations: 137.1 kB / 0.793 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.4594, allocations: 159.7 kB / 0.7932 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.4646, allocations: 2.116 MB / 0.7952 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.4654, allocations: 103.5 kB / 0.7953 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.4655, allocations: 27.98 kB / 0.7954 GB, free: 5.926 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.0003516/0.4658, allocations: 221.6 kB / 0.7956 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.466, allocations: 51.67 kB / 0.7956 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.4696, allocations: 1.04 MB / 0.7966 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4696, allocations: 8 kB / 0.7966 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4696, allocations: 0 / 0.7966 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.4696, allocations: 3.984 kB / 0.7966 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00438/0.474, allocations: 1.757 MB / 0.7984 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.474, allocations: 0 / 0.7984 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.4748, allocations: 143.8 kB / 0.7985 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000646/0.4754, allocations: 116.7 kB / 0.7986 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.4755, allocations: 19.98 kB / 0.7986 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.4792, allocations: 1.912 MB / 0.8005 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4792, allocations: 0 / 0.8005 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.4824, allocations: 1.009 MB / 0.8015 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.4827, allocations: 212.6 kB / 0.8017 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.4828, allocations: 16 kB / 0.8017 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.4835, allocations: 63.94 kB / 0.8018 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.4836, allocations: 40.5 kB / 0.8018 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.4837, allocations: 27.97 kB / 0.8018 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003633/0.4841, allocations: 291.1 kB / 0.8021 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.4841, allocations: 0 / 0.8021 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007946/0.4848, allocations: 235.5 kB / 0.8023 GB, free: 14.52 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.001702/0.4866, allocations: 0.5056 MB / 0.8028 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.489, allocations: 0.8385 MB / 0.8036 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.489, allocations: 4 kB / 0.8036 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.4902, allocations: 0.4937 MB / 0.8041 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.4908, allocations: 74.25 kB / 0.8042 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4933, allocations: 1.252 MB / 0.8054 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.4938, allocations: 0.8773 MB / 0.8063 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005811/0.4944, allocations: 148.4 kB / 0.8064 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.4947, allocations: 71.33 kB / 0.8065 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.4947, allocations: 0 / 0.8065 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of Templates: time 0.0194/0.5141, allocations: 10.56 MB / 0.8168 GB, free: 15.82 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)