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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7979/0.7979, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 187.2 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 111.7 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 272.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 87.86 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3119, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.00389/0.3158, allocations: 3.739 MB / 0.7716 GB, free: 23.92 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.3194, allocations: 3.442 MB / 0.7749 GB, free: 20.46 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.3197, allocations: 7.938 kB / 0.7749 GB, free: 20.45 MB / 458.7 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.0004398/0.3202, allocations: 100.6 kB / 0.775 GB, free: 20.36 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.3212, allocations: 374.3 kB / 0.7754 GB, free: 19.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.3218, allocations: 322.2 kB / 0.7757 GB, free: 19.68 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.3223, allocations: 0.6941 MB / 0.7764 GB, free: 18.98 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.3226, allocations: 202.3 kB / 0.7766 GB, free: 18.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.3228, allocations: 266.8 kB / 0.7768 GB, free: 18.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.3231, allocations: 298.6 kB / 0.7771 GB, free: 18.22 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.3232, allocations: 32 kB / 0.7771 GB, free: 18.19 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.3238, allocations: 483.4 kB / 0.7776 GB, free: 17.72 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.324, allocations: 127.5 kB / 0.7777 GB, free: 17.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3242, allocations: 286.3 kB / 0.778 GB, free: 17.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.3249, allocations: 1.032 MB / 0.779 GB, free: 16.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3249, allocations: 0 / 0.779 GB, free: 16.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3249, allocations: 0 / 0.779 GB, free: 16.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.325, allocations: 0 / 0.779 GB, free: 16.28 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001533/0.3265, allocations: 0.9914 MB / 0.78 GB, free: 15.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3265, allocations: 8.031 kB / 0.78 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.3298, allocations: 0.6167 MB / 0.7806 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3309, allocations: 0.6234 MB / 0.7812 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.331, allocations: 114.7 kB / 0.7813 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.3311, allocations: 55.92 kB / 0.7813 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.3323, allocations: 0.6908 MB / 0.782 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3324, allocations: 3.938 kB / 0.782 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.3325, allocations: 20 kB / 0.782 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3325, allocations: 12 kB / 0.7821 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.3342, allocations: 0.7533 MB / 0.7828 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.337, allocations: 1.798 MB / 0.7845 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.3395, allocations: 0.845 MB / 0.7854 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.3404, allocations: 369.9 kB / 0.7857 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.3416, allocations: 1.765 MB / 0.7875 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.3426, allocations: 446.6 kB / 0.7879 GB, free: 6.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=55): time 2.795e-06/0.3426, allocations: 0 / 0.7879 GB, free: 6.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.006151/0.3487, allocations: 1.613 MB / 0.7895 GB, free: 4.953 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3488, allocations: 111.4 kB / 0.7896 GB, free: 4.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.3492, allocations: 421.8 kB / 0.79 GB, free: 4.406 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.3493, allocations: 33.7 kB / 0.79 GB, free: 4.367 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3494, allocations: 272.8 kB / 0.7903 GB, free: 4.094 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3495, allocations: 185.3 kB / 0.7904 GB, free: 3.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.3497, allocations: 126.2 kB / 0.7905 GB, free: 3.781 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.3498, allocations: 358.8 kB / 0.7909 GB, free: 3.422 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007828/0.3505, allocations: 309 kB / 0.7912 GB, free: 3.121 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/0.3514, allocations: 449.5 kB / 0.7916 GB, free: 2.629 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.353, allocations: 0.7106 MB / 0.7923 GB, free: 1.871 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.353, allocations: 0 / 0.7923 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003366/0.3564, allocations: 1.046 MB / 0.7933 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3564, allocations: 13.44 kB / 0.7933 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3564, allocations: 0 / 0.7933 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007193/0.3572, allocations: 140.7 kB / 0.7935 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.3579, allocations: 159.7 kB / 0.7936 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/0.3625, allocations: 1.98 MB / 0.7956 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.3633, allocations: 103.4 kB / 0.7957 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.3634, allocations: 27.98 kB / 0.7957 GB, free: 14.26 MB / 474.7 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.0003085/0.3637, allocations: 214.6 kB / 0.7959 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3638, allocations: 55.28 kB / 0.7959 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.3672, allocations: 1.044 MB / 0.797 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3672, allocations: 11.98 kB / 0.797 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3672, allocations: 0 / 0.797 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.3673, allocations: 3.984 kB / 0.797 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.3713, allocations: 1.755 MB / 0.7987 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3713, allocations: 0 / 0.7987 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.372, allocations: 135.8 kB / 0.7988 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000772/0.3728, allocations: 128.7 kB / 0.7989 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.3729, allocations: 19.98 kB / 0.799 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.3761, allocations: 1.771 MB / 0.8007 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3761, allocations: 0 / 0.8007 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.3805, allocations: 2.05 MB / 0.8027 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.3808, allocations: 208.2 kB / 0.8029 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.3809, allocations: 15.98 kB / 0.8029 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.3815, allocations: 67.81 kB / 0.803 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3816, allocations: 44.5 kB / 0.803 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.3817, allocations: 19.98 kB / 0.803 GB, free: 6.422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.382, allocations: 291.1 kB / 0.8033 GB, free: 6.137 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3821, allocations: 0 / 0.8033 GB, free: 6.137 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000911/0.383, allocations: 235.7 kB / 0.8035 GB, free: 5.906 MB / 474.7 MB 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.0011/0.3841, allocations: 0.5045 MB / 0.804 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3862, allocations: 0.8617 MB / 0.8049 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3862, allocations: 0 / 0.8049 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3873, allocations: 0.5251 MB / 0.8054 GB, free: 4.137 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3878, allocations: 73.97 kB / 0.8055 GB, free: 4.066 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3904, allocations: 1.821 MB / 0.8072 GB, free: 2.207 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3908, allocations: 0.9009 MB / 0.8081 GB, free: 1.281 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006885/0.3915, allocations: 144.5 kB / 0.8083 GB, free: 1.141 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.3918, allocations: 67.39 kB / 0.8083 GB, free: 1.074 MB / 474.7 MB Notification: Performance of SimCode: time 4.6e-07/0.3918, allocations: 3.938 kB / 0.8083 GB, free: 1.07 MB / 474.7 MB Notification: Performance of Templates: time 0.01717/0.409, allocations: 10.3 MB / 0.8184 GB, free: 6.809 MB / 490.7 MB 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)