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.00115/0.00115, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001158/0.001158, allocations: 200.7 kB / 16.91 MB, free: 6.195 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.179/1.179, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 285.2 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8522/0.8522, allocations: 169.2 MB / 0.4985 GB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 91.39 kB / 0.5953 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 86.98 MB / 0.6803 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005015/0.1559, allocations: 3.753 MB / 0.6839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1606, allocations: 3.392 MB / 0.6872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.161, allocations: 7.938 kB / 0.6873 GB, free: 1.41 MB / 494.1 MB [/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.0004832/0.1615, allocations: 95.27 kB / 0.6873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.1627, allocations: 406.2 kB / 0.6877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.1634, allocations: 318.6 kB / 0.688 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2663/0.4297, allocations: 0.7499 MB / 0.6888 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.4303, allocations: 192.8 kB / 0.6889 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006702/0.431, allocations: 309.3 kB / 0.6892 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.4317, allocations: 324 kB / 0.6896 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.432, allocations: 65.53 kB / 0.6896 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.4334, allocations: 0.5005 MB / 0.6901 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.4337, allocations: 169.7 kB / 0.6903 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.4342, allocations: 321.3 kB / 0.6906 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4357, allocations: 0.8259 MB / 0.6914 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4357, allocations: 4.281 kB / 0.6914 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4358, allocations: 0 / 0.6914 GB, free: 11.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4358, allocations: 3.141 kB / 0.6914 GB, free: 11.72 MB / 494.1 MB 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.00187/0.4376, allocations: 0.9803 MB / 0.6923 GB, free: 11.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4377, allocations: 10.91 kB / 0.6924 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.4412, allocations: 0.6223 MB / 0.693 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.4425, allocations: 0.6268 MB / 0.6936 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.4426, allocations: 122.9 kB / 0.6937 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.4427, allocations: 49.72 kB / 0.6937 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.4444, allocations: 0.6976 MB / 0.6944 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4444, allocations: 0.6094 kB / 0.6944 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.4445, allocations: 19.81 kB / 0.6944 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4445, allocations: 11.75 kB / 0.6945 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.4465, allocations: 0.7617 MB / 0.6952 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.4499, allocations: 1.795 MB / 0.6969 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.4527, allocations: 0.8567 MB / 0.6978 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/0.4536, allocations: 368 kB / 0.6981 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.455, allocations: 1.77 MB / 0.6999 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.4561, allocations: 439.5 kB / 0.7003 GB, free: 7.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=55): time 2.655e-06/0.4561, allocations: 0 / 0.7003 GB, free: 7.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.006735/0.4629, allocations: 1.616 MB / 0.7019 GB, free: 7.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.4629, allocations: 109.3 kB / 0.702 GB, free: 6.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.4634, allocations: 421 kB / 0.7024 GB, free: 6.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.4635, allocations: 37.08 kB / 0.7024 GB, free: 6.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.4637, allocations: 274.2 kB / 0.7027 GB, free: 6.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.4638, allocations: 187.4 kB / 0.7028 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.464, allocations: 125.1 kB / 0.703 GB, free: 6.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.4641, allocations: 358.5 kB / 0.7033 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/0.465, allocations: 309.9 kB / 0.7036 GB, free: 5.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.4659, allocations: 450.9 kB / 0.704 GB, free: 5.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.4676, allocations: 0.7128 MB / 0.7047 GB, free: 5.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4676, allocations: 1.188 kB / 0.7047 GB, free: 5.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003739/0.4713, allocations: 1.047 MB / 0.7057 GB, free: 4.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4714, allocations: 7.172 kB / 0.7058 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4714, allocations: 3.875 kB / 0.7058 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007629/0.4721, allocations: 147.6 kB / 0.7059 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.473, allocations: 156.6 kB / 0.706 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/0.4775, allocations: 2.115 MB / 0.7081 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.4783, allocations: 106.2 kB / 0.7082 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.4784, allocations: 30.41 kB / 0.7082 GB, free: 3.281 MB / 494.1 MB 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.0003395/0.4788, allocations: 206.1 kB / 0.7084 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4789, allocations: 52 kB / 0.7085 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/0.4822, allocations: 1.048 MB / 0.7095 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.4822, allocations: 10.47 kB / 0.7095 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4822, allocations: 1.375 kB / 0.7095 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4822, allocations: 3.375 kB / 0.7095 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.4859, allocations: 1.754 MB / 0.7112 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4859, allocations: 0.6562 kB / 0.7112 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.4867, allocations: 143.4 kB / 0.7114 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006558/0.4874, allocations: 122.5 kB / 0.7115 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.4874, allocations: 25.05 kB / 0.7115 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.4906, allocations: 1.906 MB / 0.7134 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4906, allocations: 0 / 0.7134 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.4936, allocations: 1.014 MB / 0.7144 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.494, allocations: 210.6 kB / 0.7146 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4941, allocations: 11.23 kB / 0.7146 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.4947, allocations: 62.97 kB / 0.7146 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4949, allocations: 44.06 kB / 0.7147 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.4949, allocations: 23.53 kB / 0.7147 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003812/0.4953, allocations: 287.5 kB / 0.715 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4953, allocations: 0 / 0.715 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009258/0.4963, allocations: 238.5 kB / 0.7152 GB, free: 15.4 MB / 0.4981 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.001301/0.4976, allocations: 0.5055 MB / 0.7157 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.5001, allocations: 0.9117 MB / 0.7166 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5001, allocations: 0 / 0.7166 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.5012, allocations: 0.5179 MB / 0.7171 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.5017, allocations: 70.22 kB / 0.7172 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.5043, allocations: 1.53 MB / 0.7187 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.5047, allocations: 0.8743 MB / 0.7195 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.5051, allocations: 78.56 kB / 0.7196 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.5051, allocations: 5.5 kB / 0.7196 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.01737/0.5225, allocations: 12.69 MB / 0.732 GB, free: 6.578 MB / 0.4981 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)